Part Number Hot Search : 
AN7173K BAT40 MC34172N ST003 S7808 CAT25 HX1750 MAC310A6
Product Description
Full Text Search
 

To Download MC144144P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  mc144144 1 motorola advance information    cmos the mc144144 is a line 21 closedcaption decoder for use in television receivers or settop decoders conforming to the ntsc standard. capability for processing and displaying all of the latest standard line 21 closedcaption format transmissions is included. the device requires a closedcaption encoded composite video signal, a horizontal sync signal, and an external keyer to produce captioned video. rgb and box signal outputs are provided, which along with the mode select, allow simple interfacing to either color or blackandwhite tv receivers. display storage is accomplished with an onchip ram. a modified ascii character set, which includes several nonenglish characters, is decoded by an onchip rom. an onscreen character appears as a white or colored dot matrix on a black background. captions (videorelated information) can be up to four rows appearing anywhere on the screen and can be displayed in two modes: rollup, painton, or popon. with rollup captions, the row scrolls up and new information appears at the bottom row each time a carriage return is received. popon captions work with two memories. one memory is displayed while the other is used to accumulate new data. a special command causes the information to be exchanged in the two memories, thus causing the entire caption to appear at once. when text (nonvideo related information) is displayed, the rows contain a maximum of 32 characters over a black box which overwrites the screen. fifteen rows of characters are displayed in the text mode. an onchip processor controls the manipulation of data for storage and display. also controlled are the loading, addressing, and clearing of the display ram. the processor transfers the data received to the ram during scan lines 21 through 42. the operation of the display ram, character rom, and output logic circuits are controlled during scan lines 43 through 237. the functions of the mc144144 are controlled via a serial port which may be configured to be either i 2 c or spi. ? conforms to fcc report and order as amended by the petition for reconsideration on gen. doc. 911 ? conforms to eia608 for xds data structure ? supports four different data channels for field 1 and five different data channels for field 2, time multiplexed within the line 21 data stream: captions utilizing languages 1 and 2, text utilizing languages 1 and 2 and xds support ? output logic provides hardware underline control and italics slant generation ? single supply, operating voltage range: 4.75 to 5.25 v ? supply current: 20 ma (preliminary) ? operating temperature range: 0 to 70 c ? composite video input range: 0.7 to 1.4 v pp ? horizontal input polarity: either positive or negative ? internal timing and sync signals derived from onchip vco in this document, the term `user' refers to the television or vcr designer. the user may choose to make certain optional features selectable by the viewer. these features then become viewer options. this document contains information on a new product. specifications and information herein are subject to change without notice. order this document by mc144144/d
 semiconductor technical data
 p suffix plastic dip case 707 ordering information 18 1 MC144144P plastic dip pin assignment hin blue green v ss lpf csync video sms sen sck sdo box red rref v ss (a) v dd vin/intro sda 14 15 16 17 18 10 11 12 13 5 4 3 2 1 9 8 7 6 ? motorola, inc. 1995 rev 1 11/95
mc144144 motorola 2 block diagram buffer data slicer sliced data clk recovery dataline data bus status reg test reg row command processor row latch address mux display ram display latach ss ctr character gen output logic addr dec addr bus addr decoder por 17 3 2 18 v/i ref line & fld ctr char cir dot clk div dig ii lock v lock control osc o/s i drive & mux fr ph2 ph1 cg logic sync slicer dual clamp data serial control port ckt fld + 5 v video csync slice level sig lock pg aw few 4 6 10 8 4 13 10 rref 11 1 loop 9 lpf 5 hin cg lines comp sync msync vw vin/ sms sen sck sda sdo 6 4 15 14 16 intro filter v ss box blue green red cw msgr char clk dot clk fld ls sflp ???? line and flo decoders 12 vdo 8 7 13 v ss (a)
mc144144 3 motorola absolute maximum ratings* (voltages referenced to v ss(a) and v ss(d) ) symbol parameter value unit v dd (a) analog dc supply voltage 0.5 to 6.0 v v dd (d) digital dc supply voltage 0.5 to 6.0 v v in dc input voltage analog section 0.5 to v dd (a) + 0.5 v digital section 0.5 to v dd (d) + 0.5 v out dc output voltage, digital section 0.5 to v dd (d) + 0.5 v i in dc input current, per pin + 10 ma i out dc output current, per pin + 20 ma i dd dc supply current + 30 ma p d power dissipation, per package 300 mw t stg storage temperature 65 to + 150 c t l lead temperature, 1 mm from case for 10 seconds 260 c * maximum ratings are those values beyond which damage to the device may occur. functional operation should be restricted to the limits in the electrical characteristics tables or pin description section. dc electrical characteristics (v dd (a) = v dd (d) = 4.75 to 5.25 v, t a = 0 to 70 c, voltages referenced to v ss (d) unless otherwise indicated) symbol parameter conditions min max unit v il input voltage low 0 0.2 v cc v v ih input voltage high 0.7 v cc v cc v v ol output voltage low i ol = 1.0 ma e 0.4 v v oh output voltage high i oh = 0.75 ma v cc 0.4 e v i il input leakage 0 v, v cc 3.0 3.0 m a i cc supply current estimated e 20 ma k f vco gain e tbd mhz/v i lp loop filter current e tbd ma * the estimated value is 20 ma; this is not guaranteed. this device contains protection circuitry to guard against damage due to high static volt- ages or electric fields. however, precautions must be taken to avoid applications of any volt- age higher than maximum rated voltages to this highimpedance circuit.
mc144144 motorola 4 ac and timing characteristics parameter conditions composite video input amplitude: 1.0 vpp, 3 db polarity: sync tips negative bandwidth: 600 khz signal type: interlaced max input r: 470 w dc offset: signal to be ac coupled with a minimum series capacitance of 0.1 m f. nonstandard video signals must have the following characteristics sync amplitude: 200 mv min vert pulse width: 3h 0.5h vert pulse tilt: 20 mv max h timing: phase step (head switch) 10 m s max f h deviation (long term) 0.5% max f h pp deviation (short term) 0.3% max horizontal signal input (preferably h flyback) amplitude: cmos level signal, low 0.2 v cc , high 0.7 v cc video lock mode: polarity: frequency: any 15,734.263 hz, 3% hin lock mode: polarity: frequency: any display hfb pulse line 21 input parameters ( at 1.0 vpp) (line 21 must be in its proper position to the leading edge of the vertical sync signal.) code amplitude: 50 ire 10 ire code zero level: 5 ire, + 15 ire relative to back porch bit rate: 32 x f h start of code: 10.5 1.0 m s (measured from the midpoint of the leading edge of video h pulse to the midpoint of the rising edge of the first clock runin cycle.) start of data: 3.972 m s, 0.00 m s, + 0.30 m s (measured from the midpoint of the falling edge of the last clock runin cycle to the midpoint of the rising edge of the start bit.) input signaltorandom noise performance unit will function down to a 25 db ratio (ccir weighted one error per row or better at that level. internal sync circuits the internal sync circuits will lock to all 525 line or 625 line signals having a vertical sync pulse. it is at least 2 h long. it starts at the proper 2 h boundary for its field. if equalizing pulse serrations are present they must be less than 0.125 h in width. timing signals dot clock: 768 x f h = 12.0839 mhz dot period: 82.75 ns character cell width: 1.324 m s (t h 48) width of row (box): 45.018 m s (34 chars = 17/24 x t h ) width of row (char): 42.370 m s (32 chars = 2/3 x t h )
mc144144 5 motorola ac and timing characteristics (continued) parameter conditions horizontal timing the timing of the ouput signals box and rgb have been set to make a centered display. the positioning of these outputs can be adjusted in 330 ns increments by writing a new value to the h position register. control port signals twowire serial mode (sms = low, sen = high) (see figure 10) clock and data transitions: the sck and sda bus lines are normally pulled high with a resistor. data on the sda bus may only change during sck low time periods. data changes during sck high periods will indicate a start or stop condition. start condition: a hightolow transition of sda with sck high is a start condition which must precede any other command. stop condition: a lowtohigh transition of sda with sck high is a stop condition which terminates all communications. acknowledge: all address and data words are serially transmitted to and from the mc144144 in eight bit words. a ninth bit time is used for the acknowledge. the acknowledging device does so by pulling the sda bus low during the ninth bit. control port signals threewire serial mode (sms = high) (see figure 11) threewire bus with clock signal on sck pin, serial data input on sda pin and serial data output on sdo pin. sen pin low disabled the port, placing sdo in threestate. signal transitions on sck and sda are ignored. sen pin high enables the port for operation. sen and sms pins low is a hardware reset for the part. these pins must be held low for at least 100 ns. serial synchronization can be established by clocking in the minimum required ssr string of ffh, ffh, feh. more than two bytes of ffh may be input but the string must end with feh.
mc144144 motorola 6 notes: 1. timing parameters derived from the nab engineering handbook , 7th edition, page 5.475. 2. dot period = 82.76 ns. 3. an assumption is made that the delay through the lowpass filter is 220 ns. therefore, the timing of the output signals is normally set so that the start of the leading box preceding the first displayable character cell occurs at 13.4 to 13.7 m s after the midpoint of the leading edge of the horizontal sync pulse at point a. the 13.4 to 13.7 m s value may be altered via a mask option; contact your motorola representative. 100 ire (reference white) 0 ire (blanking level) 40 ire composite video outputs color burst cell width = 1.324 m s char lum = 42.370 m s box = 45.018 m s 35.73 m s a lowpass filter mc144144 center of active video 13.5 m s video in char 1 char 2 char 3 char 32 figure 1. timing of output signals relative to composite video at point a
mc144144 7 motorola introduction the mc144144 decoder the mc144144 is a stand alone integrated circuit, capable of processing vbi data from both fields of the video when the data conforms to the transmission format defined in the tele- vision decoder circuits act of 1990 and in accordance with the eia608. the line 21 data stream can consist of data from several data channels multiplexed together. field 1 has four data channels, two captions and two text. field 2 has five addi- tional data channels, two captions, two text, and extended data services (xds). the xds data structure is defined in eia608. in this document, the term ausero refers to the television or vcr designer. the user may choose to make certain option- al features selectable by the viewer. these features then be- come viewer options. data transmission format the composite data signal contained within the active por- tion of the vbi line consists of a sevencycle sinewave clock runin burst, a start bit, and 16 bits of data. these 16 bits consist of two 7bit characters and control codes, with odd parity, that conform to the fcc closed caption decoder requirements and eia608. the clock rate is 0.5035 mhz which is 32 x f h . the clock burst and data packet are 50 ire units peaktopeak and are filtered to a a2to response. data is sent with the least significant bit (bit b0) being sent first and the most significant bit (bit b7, the parity bit) being sent last. mc144144 feature summary the primary features of the mc144144 are briefly de- scribed below. vbi data processing the mc144144 extracts the data in line 21 of the incom- ing video. all data channels in both fields are handled. spe- cifically, the mc144144 can: ? process data from both fields of line 21 simultaneously. ? display data from any data channel. ? output xds data through the serial port while displaying selected data. ? output xds data raw or filtered. ? xds filter parameters user selectable from a list of prepro- grammed values. ? ntsc or pal operation selectable. video data display modes the data extracted from the incoming video may be dis- played in different ways, according to the user selection and the type of data. the display features available are: ? ten different data display modes, cc1cc4, t1t4, and two xds displays. ? popon, painton, and rollup caption displays. ? text display default is a fullscreen, 15row display. ? user able to vertically reduce and reposition the text dis- play as desired. ? color or monochrome display mode selectable. ? xdsg display mode (channel grazing): network name, call letters, program name, program length, time in show ? xdsf display mode (full information): xdsg display mode information plus: program type (only basic types), program description. control port data display modes in addition to displaying data extracted from line 21 of the incoming video, the mc144144 can display information sup- plied through its serial port. this is referred to as the on screen display (osd) mode. this mode provides: ? osd display can use all video data display modes and features. ? additional graphics features available. ? double high and double wide characters available. ? information may be placed anywhere on the screen. ? osd display can be locked to an external v signal, if desired, to provide an osd display when no video is present. character set the mc144144 has a new character set with extended features. for example: ? new font with lowercase letters having descenders. ? optional display mode using drop shadow. ? eia608 extended characters. ? eia608 background and foreground attributes. ? special framing and graphics for osd display. ? double high and double wide character display for osd. ? fifteen scan lines per character row for osd and text. serial communications interface communications and control of the mc144144 are through a serial control interface. two serial control modes are available with the mc144144 performing as a slave de- vice. these modes are: ? a twowire, i 2 c interface. ? a threewire, serial peripheral interface (spi). five pins are dedicated to the control port function and one pin can be configured to provide an interrupt output. these pins are designated as: sms = serial mode select. sck = serial port clock for either serial mode. sda = serial port data for i 2 c mode and data in for spi mode. sdo = serial data out for spi mode. not used in i 2 c mode. sen = spi mode enable signal. must be high for i 2 c mode. vin/intro = intro mode = interrupt output on selected event (when used). i 2 c mode ? i 2 c mode is selected by bringing the sms pin low and sen pin high. ? acts as a slave device. ? sda and sck pins are the data and clock lines of this port.
mc144144 motorola 8 ? when used, intro can be enabled to interrupt on selected events. ? when sen pin is made low the part will be reset. spi mode ? spi mode is selected by making the sms pin high. ? acts as a slave device. ? all communications are clocked in and out as 8bit bytes. ? sck is the serial clock (input), sda is data in, and sdo is data out. ? sen pin enables communication. when it is low the sdo pin is threestate. ? when sen is brought high the part will be synchronized and waiting for a command. ? if sen is tied high, the part can be synchronized by a command string. ? when used, intro can be enabled to interrupt on selected events. ? when sen and sms pins are made low the part will be reset. setup and operational control user selectable displays are: captions, language i, field 1 (cc1) captions, language ii, field 1 (cc2) captions, language i, field 2 (cc3) captions, language ii, field 2 (cc4) text, language i, field 1 (t1) text, language ii, field 1 (t2) text, language i, field 2 (t3) text, language ii, field 2 (t4) xdsg display mode xdsf display mode osd mode (through the serial port) user controlled features are: decoder on/off color or monochrome output eia608 extended attributes on/off osd drop shadow on/off text box size, number of rows = x text box position, base row = y tv lines per character row, 13 or 15 erase timer (16 s) on/off data output modes (through the serial port) xds data output, raw or filtered selected channel and xds activity indicators video lock indicator setup options: horizontal timing of box ntsc or pal h lock source, video or ext hin v lock source, video or ext vin default condition following reset display channel = cc1 decoder = off text size = 15 rows lines/row = 13 background = box extended attrib = on data outputs = off ntsc operation vco lock = video box timing = 13.5 m s vert lock = video vin/intro = intro and disabled horiz lock = video color/mono = color osd display = drop shadow osd display = 15 lines/row overview of the line 21 closed caption system the line 21 closedcaptioning system the line 21 closedcaptioning system provides for the transmission of caption information and other text material as an encoded composite data signal during the unblanked por- tion of line 21, field 1 of the standard ntsc video signal. in addition, a framing code is transmitted during the first half of line 21, field 2. the encoded composite video signal for line 21, fields 1 and 2 is shown in figure 5. the video signal conforms to the standard synchronizing waveform for color transmission giv- en in subpart e, part 73 of the fcc rules and regulations. multiplexed data channels the line 21, field 1 closedcaption system defines four dif- ferent data channels which can be time multiplexed within the line 21 data stream. they are captions e language 1, captions e language 2, text e language 1, and text e language 2. both languages may be english in either case. field 2 has five additional data channels, two captions, two text, and extended data services (xds). the xds data structure is defined in eia608. data format the composite data signal contained within the active por- tion of the vbi line consists of a sevencycle sinewave clock runin burst, a start bit, and 16 bits of data. these 16 bits consist of two 8bit alphanumeric characters formulated according to the usa standard code for information inter- change (usascii;x3.41967) with odd parity. the clock rate is 0.5035 mhz which is 32 x f h . the clock burst and data packet are 50 ire units peaktopeak and are filtered to a a2to response. data is sent with the least significant bit (bit b0) being sent first and the most significant bit (bit b7, the parity bit) being sent last.
mc144144 9 motorola the data channels for each field are transmitted in line 21 of that field as a time multiplexed data stream. the start of a particular channel's data stream is identified by the occur- rence of one of its unique command codes. once a unique command code is received, all subsequent data is consid- ered to belong to that data channel until a unique command code is received for another data channel. the 7bit ascii table defines two types of information: printing and nonprinting. printable data are data bytes hav- ing values between x0100000 ($20) and x 1111111 ($7f), where x represents the parity bit. data bytes having values between x0000000 ($00) and x00 11111 ($1f) are c alled nonprinting characters, because they have no displayable character font in the standard ascii table. figure 2. encoded composite video signal 10.50 0.5 m s 12.910 m s 4.15 0.1 m s 33.764 m s 0.12 m s 2.0 m s 10.076 m s 1 2 3 4 5 6 7 8 9 1011121314151617181920212223242526 character 1 character 2 b1 b2 b4 b6 b3 b5 b7 b1 b2 b4 b6 b3 b5 b7 p a r i t y p a r i t y displayable character set the specifications define a modified ascii table character set where eight of the alphanumeric characters have been changed to provide some nonenglish characters. also, 15 additional characters are defined by special character com- mands. the changes in the ascii table characters are shown in table 1. table 1. modifications to the ascii characters ? hex code ascii character line-21 character 2a * a 5c \ e 5e ^ i 5f o 60 ' u 7d } n 7e ~ n ~ ~ 7b { c fifteen additional displayable characters are sent by trans- mitting a twobyte code. the sixteenth code provides a transparent space. the byte pair has a nonprinting charac- ter followed by a printing character, where the nonprinting character is $11 for language 1 and $19 for language 2. the printing character determines the special character font that is displayed according to table 2. commands and special information data channel commands and special information are transmitted as twobyte pairs consisting of a nonprinting character followed by a printing character. the two bytes of the pair must be transmitted in the same field, and the pair is transmitted twice in successive frames. this redundancy provides some immunity to noise errors for control informa- tion. throughout the line 21 system, bit 4 of the nonprinting character identifies the language. bit b4 = 0 signifies lan- guage 1 commands and b4 = 1 signifies language 2. the nonprinting characters used in the line 21 system are $10 through $17 for language 1 and $18 through $1f for lan- guage 2. table 2. additions to the ascii characters print character 30 ? 31 32 1/2 33 ? 34 ? 35 36  37 a1/8 noteo music symbol 38 a 39 atransparent spaceo 3a e 3b a 3c e 3d l 3e o 3f u ^ ^ ^ ^ ^
mc144144 motorola 10 operating characteristics decoder operation the mc144144 provides full function ntsc, line 21 per- formance. input commands are included to enable the de- coder to process and display any of the eight caption/text data channels (cc1, cc2, cc3, cc4, t1, t2, t3, or t4) con- tained in line 21 of either field of the incoming video. xds displays can also be selected. on/off commands control the screen displays. when switched to the decoder off (tv) state, incoming data in the selected channel will still be pro- cessed but not displayed. the mc144144 can also be configured to operate with pal video signals. it will decode information encoded into its vbi in line 22. the encoded data must conform to the wave- form and command structure defined for ntsc, line 21 op- eration. decoder setup vco lock the design includes a vco with stable gain characteristics and good power supply rejection. the internal horizontal and vertical synchronizing circuits provide a high degree of noise immunity. there are options for both horizontal and vertical lock. the vco can be phase locked either to the horizontal signal derived from the video input signal (video) or to the externally supplied hin signal, typically horizontal flyback. hin lock is used to provide a display having a minimum of observable jitter. this requires an hin signal derived from the tv display and of the proper polarity. such a signal is readily available in a television receiver. video lock mode enables the vco to lock in phase to the incoming video signal, thus providing good operation in an application where no display related hin signal is available, such as in a vcr. timing timing signals are derived from the vco for use in the line counting and display circuits. line counting requires proper identification of the input signal's vertical pulse. default op- eration uses the vertical sync signal derived from the video input signal as the source for vertical lock. this method re- sults in locking characteristics having good performance and good noise immunity. in the event that osd operation is required under condi- tions when no input video is present, it would be necessary to set the mc144144 for vin lock. in this mode, the vertical tim- ing will be determined from the vertical pulse signal supplied to the vin pin. the horizontal position of the caption display is determined by the internal timing circuits. a default condition has been established that should result in a well centered display in a typical application. however, since signal delays through video processing circuits can vary between designs, the mc144144 provides the user with the ability to change the default timing. no matter which of the horizontal lock modes is selected, the display horizontal position on the screen can be adjusted in quarter character (330 ns) steps by serial port commands. display formats normal mode characters are displayed as white or colored, dotmatrix characters on an opaque background. the box is normally black but the mc144144 can be set to blue by a serial com- mand. the characters are described by a 12by18 dot pat- tern within a character cell which is 16 dots wide by 26 dots high per frame. the location of the character luminance with- in the character cell varies from character to character to al- low for the display of lower case letters with descenders. all characters have at least a one dot border of black around each character. underline is also provided. the character rom consists of a 12by18 dotmatrix pattern per character. figure 3 shows the character font. al- ternate rows and columns are read out of each field to pro- duce an interleaved and rounded character. a display row contains a maximum of 32 characters plus a leading and trailing blank box, each a character cell in width, making the overall width of a display row 34 x 8 = 272 dots. successive display rows are butted together, so that the total display is 195 dots high. the black box (34 character cells wide by 195 dots high) results in a box size of 45.018 m s in width by 195 scan lines in height. box starts in scan line 43 and extends to scan line 237. theoretically, the display will be horizontally centered in the video display when box starts 13.2 m s after the leading edge of h. the default setting of the mc144144 places the center of the box at about 13.5 m s to allow for some delay in the normal video path. however, the box horizontal position can be adjusted by the user in 330 ns increments. the dis- play will be approximately within the safe title area for ntsc receivers. character width is 42.37 m s, also centered on the screen, resulting in a leading and trailing 1.32 m s black bor- der. an optional caption display mode, drop shadow, can be selected by the user through the serial port. this display mode eliminates the black box around the characters and places a twodot black shadow to the right and below the character luminance dots when in the 15 scan line per row mode. this display mode is usable in captions, text, and osd displays. figure 4 shows the characters with shadow- ing added. extended features eia608 defined new extended features such as optional background and foreground display attributes and optional extended characters. the mc144144 will always respond to the extended characters but the extended background/fore- ground response can be controlled by the user. the back- ground and foreground attributes add codes for background colors, black foreground as well as transparent, opaque, and semitransparent background. the box signal output pin will be set into a threestate condition whenever one of the semitransparent attribute codes is active. the external key- ing circuits can then use this condition to implement the in- tended video display. the font for the extended characters is shown in figure 5. the accented capital letters have been implemented by plac- ing the accent marks above the character cell. when selected, this mode will result in the accent marks being writ- ten into the character cell space of the row above. in some operating modes we will expand the size of the overall box height by adding two additional scan lines at the top and one additional line at the bottom. this will make room for the ac- cent marks in the topmost row and add a black line below the descenders of any lowercase characters in the last row.
mc144144 11 motorola figure 3. display character font
mc144144 motorola 12 figure 4. display character font with shadowing added
mc144144 13 motorola figure 5. display character font extended characters
mc144144 motorola 14 this approach was used because shrinking the capitals to make room for the accent mark within the character cell makes poor quality characters and in some cases there would be no differentiation between the capital and lower case letter. it also has the advantage of minimizing the rom size and providing a good readable font that closely matches what is normally seen in print. in the unlikely case of a conflict between an accented capi- tal letter in one row and a lowercase descender in the same character position in the row above, the descender is given priority. it is believed that the improved readability of our ap- proach over shrunk capital letters far outweighs this potential conflict and results in a cost effective compromise for provid- ing a full, extended features implementation. the extended characters share their address space with the ods graphics characters. when a box display is used the extended character set is in force. however, if a drop shadow display is used the graphics characters are in force. for caption and text display modes, if drop shadow is set, the user must also command the mc144144 to switch back to extended characters. text mode display when text mode is selected normally, a black box will be displayed as long as valid line 21 code in the field selected is being detected. the mc144144 provides the option to make the box blue instead of black. this option will hold for cap- tions as well as text. the default text display mode uses a 15 row by 34 char- acter black box. text characters will be displayed as they are received starting in the top row. successive carriage re- turns will move the display down successive rows until all 15 rows have been displayed. thereafter, the text will scroll up as new characters are added to the bottom row. if the data for the selected channel is interrupted by a com- mand for another channel, data processing stops but the dis- play will remain. when a resume text command is received, data processing will resume and the new characters will be added starting at the position that the display row/column pointer was in at the interruption of data processing. if a start text command is received, the display will be cleared and new characters will be displayed starting in row 1, column 1 (left side). the number of display rows and the location (base row) of the text box can be altered by the user. in this way, the user can decide how much of the screen can be covered when displaying nonprogram related information. when scrolling, the display will shift one scan line per frame until a complete row has been scrolled. if a carriage return is received before scrolling is complete, the display will immediately complete the ascrollo by jumping up the remain- ing scan lines and starts displaying the new text. caption mode display according to the fcc specifications, caption data can ap- pear in any of the 15 display rows but a single caption may consist of no more than four rows. the form of the caption display depends on the caption mode indicated by the trans- mitted caption command, popon, painton, or rollup. the mc144144 can display a single caption having as many as eight rows. when any of the caption display modes have been selected, the screen will be transparent (display box is only present when a caption is being displayed). popon captions work with two caption memories. one of them is normally displayed while the other is being used to accumulate new caption data. a new caption is poppedon by swapping the two memories with the end of caption (eoc) command. when the onscreen memory is erased, the screen is blank (transparent) and the memory will default to the row/column pointer at row 1, column 1 and monochrome nonunderlined. when caption mode is selected, the decoder will process any data following the resume caption loading (rcl) com- mand (or the eoc). normally, this command will be followed by a preamble address code (pac) to indicate the row, col- umn, and character attributes to be used with the following data. if no pac is received the data will be added to the loca- tion last indicated by the row/column pointer prior to the re- ceipt of the rcl command. painton caption mode is essentially equivalent to the popon mode except that the data received after the resume direct captioning (rdc) command is written to the onscreen memory rather than the offscreen memory. all the rules for pacs, midcodes, etc., are otherwise the same. rollup caption mode presents a atexto like display that is limited to two, three, or four rows, depending on the resume rollup (run) command used. the pac following the run command is used as the base row for the rollup dis- play. the base row will be the abottomo row of the roll up display. in this case black box does not appear until characters are being displayed and box is only wide enough to provide a leading and trailing box in each line. the new data appears in the bottom row and as each carriage return is received, the row scrolls up and the new data added to the bottom. when the number of rows indicated by the resume command has been reached, the data in the top row scrolls off as new data is added to the bottom. the tab (indent) pac permits placing captions starting at four character boundaries in any caption row. the tab offset command provides the means for adjusting the starting position for a caption at any column position in the current row. xds mode display two xds display modes are provided. one provides in- formation about the current program that would be of interest for achannel grazingo. the second display shows the grazing packets plus additional xds packets which will inform the viewer about the program content. information will be dis- played as it is received. the display uses the drop shadow mode with 15 scan lines per row. the xdsg mode is the graze (channel grazing) display. the display contains three rows of information at the top of the screen, formatted for easy reading. they will contain the following xds packet information: row 1, grn network name call letters row 2, ital, und program name (title) row 3, cyan program length time in show the xdsf mode is the full (information) display. this display shows the same information as the graze display and adds the program type as well the first four program de- scription rows (if transmitted). although xds defines eight program description rows, the first four are identified as con- taining the most important information and are the ones most
mc144144 15 motorola likely to be sent. since 15 scan lines per row mode is being used, rows 10 13 will appear at the bottom of the screen. row 1, grn network name call letters row 2, ital, und program name (title) row 3, cyan program length program type time in show row 10, yel program description row 1 (if sent) row 11, yel program description row 2 (if sent) row 12, yel program description row 3 (if sent) row 13, yel program description row 4 (if sent) when an xds display mode has been selected the in- formation will be displayed as the appropriate packets are re- ceived. the display will remain onscreen as long as valid xds data continues to be received. if the 16second erase timer is enabled (the default condition), the xds display will be erased when no valid xds data has been received for 16 seconds. if subsequent xds data is received with dis- playable packets, that information will reappear on the screen. xds data recovery can be active in the xds display mode. the xds display mode is turned off by selecting a different display mode. display erase and autoblanking the display is erased in the text mode by the start text command (but box is maintained) and in the caption mode by the erase displayed memory (edm) command. the non displayed memory can be erased by the erase nondis- played memory (enm) command. four other events can also cause the display to be erased. first, changing the display mode, such as from cc1 to t1, cc1 to xdsf, and so forth, will clear the memory and hence the display. second, a loss of video lock, such as on a chan- nel change, will cause the screen to be cleared. the current- ly active display mode will not be changed. the third action that will clear the displayed memory is when the autoblanking circuit is activated. the autoblanking circuit monitors the presence of a line 21 waveform in the field corresponding to the data channel selected for display. the decoder is held in the decoder off (tv) state until a line 21 waveform is continuously detected for a period of 0.5 s. once the decision has been made, and assuming that the user has selected the decoder on state, the normal dis- play for the data channel selected will be presented. the autoblanking circuit will not be activated again until a line 21 waveform has been lost for 1.5 s. any data received during the 1.5 s period will reset the counter so that auto- blanking will only be activated on continuous loss of the line 21 waveform for 1.5 s. the fourth method of clearing the screen is by the action of the 16 s erase timer. this function is only active when a cap- tion or xds display mode has been selected. if no data is received for the display channel selected for a 16 s period, the onscreen memory will be erased. the decoder will still be in the selected channel with the decoder on, so that when data for the selected channels resumes, it will be dis- played. serial communications interface commands and data are sent to and from the mc144144 through its serial communications interface. two serial con- trol modes are available. one mode is a twowire i 2 c bus in- terface (figure 6). the other serial mode is a threewire (figure 7), synchronous serial peripheral interface (spi). in both cases the mc144144 acts as a slave device. this port is the path for setting the configuration and op- erational modes of the device. it is also the port for outputing the recovered xds data and for inputing the osd data for display. five pins are dedicated to the control port function and one pin can be configured to provide an interrupt output. these pins are designated as: sck = serial clock line in either serial mode. sda = serial data (bidirectional) line in i 2 c mode and data in for spi mode. sdo = serial data out for spi mode. not used in i 2 c mode. sen = spi mode enable signal. must be high for i 2 c mode. sms = serial mode select. vin/intro = interrupt output on selected event when used. when the vertical lock = video, the vin/intro pin is set as an output, providing the intro signal. this interrupt op- eration is available in either serial control mode. the mc144144 will be able to interrupt on the occurrence of any of several events. the master device will clear the in- terrupt by writing to the interrupt request register. i 2 c bus operation the serial control mode (figure 6) in use is selected by the state of the sms pin. when sms is set low, the mc144144 will be in the i 2 c mode. in this mode, the mc144144 sup- ports a bidirectional twowire bus and data transmission pro- tocol. the bus is controlled by the master device, which generates the serial clock (sck), controls the bus access, and generates the start and stop conditions. the sda pin is the bidirectional data line. in this mode the sdo output is not used and the pin will be in its high impedance state. the mc144144 is a slave device having a slave address of 0010100. the mc144144 can receive or transmit data under control of the master device. when the sms and sen pins are both low, the part will be in the reset state. therefore the sen pin can be used to reset the part while in the i 2 c mode. the sen pin may be tied to an nreset signal or tied high if no reset is desired. the bus protocol requires: ? data transfer may only be started when the bus is not busy. ? during data transfer, data transitions must not occur while the clock is high. bus conditions are defined as: not busy data and clock lines both high. start a high to low transition of sda line while sck line is high. stop a low to high transition of sda line while sck line is high. acknowledge when addressed, the receiving device must output an acknowledge after the reception of each byte. the
mc144144 motorola 16 master device must generate the clock for the acknowledge bit. acknowledge is sda = low. data the data (sda) is output by the transmitting device on the falling edge of sck, msb first. the receiving device will read the data, msb first on the rising edge of sck. two wire serial mode requirements symbol parameter min max unit f sck clock frequency e 100 khz t low clock pulse width low 4.7 e m s t high clock pulse width high 4.0 e m s t r sda and scl rise time e 1.0 m s t f sda and scl fall time e 300 ns t aa clock low to data out valid 0.1 3.5 m s t buf bus free time 4.7 e m s t hd.sta start hold time 4.0 e m s t su.sta start setup time 4.7 e m s t hd.dat data in hold time 0 e m s t su.dat data in setup time 250 e ns t su.sto stop setup time 4.7 e m s t dh data out hold time 100 e ns t i input filter tc e 100 ns sck t high t low t low t f t susta t hdsta t hddat t sudat t buf t susto t r t aa t dh sda in sda out figure 6. twowire serial mode communication with the mc144144 is initiated when the master device sends the mc144144 slave address following the start condition. the mc144144 has a preset, single, sevenbit slave address. the mc144144 will respond with an acknowledge. the eighth bit of the slave address is driven high for read operations and low for write operations. writing to the i 2 c bus all write commands are either one or two byte commands. the number of data bytes to be received by the mc144144 is inherent in the command and the mc144144 will respond with the acknowledge signal only for the number of bytes ex- pected. if the master writes more bytes than expected, there will be no acknowledge for the extra bytes. the mc144144 is enabled when a start condition followed by its slave address byte is received. it will be disabled once it deems the command to have been completed or by a stop condition. a new start condition without a stop condition will begin a new sequence. therefore, successive commands may be executed by successive strings of astart slave ad- dress commando sequences without any intervening stop condition being sent. a write to the mc144144 should always be preceded by executing a status read to verify that the mc144144 is not busy. the status register data is output immediately following the reception of the slave address with the read bit set. if the rdy bit is set, the master device can initiate its write se- quence, always beginning with the start condition. the first byte of a two byte command is written first.
mc144144 17 motorola cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 rdy dav rd2 wovr intr rovr fld lock do15 do14 rdy do13 do12 do11 do10 do9 do8 do7 do6 do5 do4 do3 do2 do1 do0 cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 rdy dav rd2 wovr intr rovr fld lock rdy do7 do6 do5 do4 do3 do2 do1 do0 two byte read sen one byte read cm15 rdy dav rd2 wovr intr rovr fld lock rdy dav rd2 wovr intr rovr fld lock rdy cm14 cm13 cm12 cm11 cm10 cm9 cm8 cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 sda sck sdo cm7 rdy dav rd2 wovr intr rovr fld lock rdy cm6 cm5 cm4 cm3 cm2 cm1 cm0 sen sda sck sdo sen sda sck sdo sen sda sck sdo two byte command one byte command hiz rdy dav rsrv rdy hiz sen sda sck sdo cm7 cm6 cm0 t ceh t ent t dh t ckl t dsu t doff t ckh t doc t den t cel t t t t t t t t t t ckl ckh ceh cel ent dsu dh den doc doff 266 266 156 156 156 156 156 265 265 156 ns ns ns ns ns ns ns ns ns ns min max units figure 7. threewire serial mode
mc144144 motorola 18 reading data using the i 2 c bus with the exception of the serial status (ss) register, which may be read at any time, each read operation must be set up before the data can be read from the serial output registers of the mc144144. data is set up for a read operation either automatically or manually. xds data reads are set up auto- matically upon recovery by setting a valid xds filter regis- ter selection. all other data read operations must be set up manually using the read select commands rds1 and rds2. these commands load the selected data byte or pair of bytes into the serial output register(s), set the ss register rd2 bit according to the number of data bytes requested and set the ss register dav bit to indicate availability of data. the mc144144 i 2 c bus supports one, two, and three byte read sequences. all read sequences output the ss register as the first output byte. if the serial status dav bit is set, one or two data bytes should also be read. if the dav bit is not set, the i 2 c master device should end the read sequence by failing to acknowledge the received byte. the number of data bytes available is indicated by the state of the rd2 bit of the serial status. in a typical read op- eration the status byte is read and the dav and rd2 bits are examined. if one or two data bytes are available they are read in sequence separated by acknowledges. the last byte read should not be acknowledged by the master. it is neces- sary to read all available data in a read operation to clear the dav bit and permit subsequent reads. all data is output msb first. spi bus operation when the sms pin is high, the mc144144 will be in the spi serial control mode (figure 7). the clock line should be tied to the sck pin. the data in signal and data out sig- nal from the master device should be connected to the sda and sdo pins, respectively. the sen pin is used to select the mc144144 when there are multiple peripherals on the bus. as noted above, when both the sms and sen pins are low, the part is in the reset state. when the spi bus is used in a dedicated fashion between the master and the mc144144, both the sen and sms pins would be tied high. the reset function would require that both of these pins be tied to the nreset signal. to ensure synchronization, the master should send the serial synchronization signal after the reset is released. when the spi mode is used in a multiple peripheral envi- ronment, the sen pin is used as the mc144144 enable sig- nal. sms could then be used for the nreset signal as long as reset was only applied while sen was low. in this case, there would be no need for the master to send a serial syn- chronization string after reset if there was at least 100 ns be- tween the end of reset and the start of port enable. a command string can be interrupted at any time and the port resynchronized by sending the serial sync signal or by the rising edge of sen. the spi bus is a threewire bus when used in a dedicated manner between the mc144144 and the master device. if other peripherals are connected to the bus, then the sen pin must be used to place this device on the bus at the appropri- ate time. when sen is low, the sdo pin will be threestate and transitions on the sck and sda pins will be ignored. if data output is not required from the mc144144, then control can be accomplished using only the sck and sda pins. since this type of operation precludes the ability to check the rdy bit, it is very important that commands be spaced by at least two frames (133 ms) to ensure that one command has been executed before initiating another. the bus is controlled by the master device, which gener- ates the serial clock (sck) and initiates all actions. clocking data in on sda will simultaneously produce data out on sdo. the master should always check for the appropriate handshake signal before executing any command, other than nop. writing to the part requires that the rdy bit be set while reading from the part requires checking the ss register to see if the dav bit is set. both of these bits are contained in the serial status (ss) register. writing to the mc144144 will concurrently output the contents of the ss register, msb first, unless other data is being output as a result of one of the read commands. if it is desired to read the ss without executing a command, the nop command can be written at any time, even if the serial status rdy bit is not set. the rdy status bit is driven onto the sdo pin between command transmissions. the controlling mcu can test the state of this pin without clocking in order to determine if sub- sequent serial transfers are possible. the dav bit can only be checked by outputing the contents of the ss register. writing to the spi bus all write commands are either one or two byte commands. the number of data bytes to be received by the mc144144 is inherent in the command. if the master writes more bytes than expected, the command may be overwritten or cor- rupted by the extraneous bytes. a write to the mc144144 should always be preceded by executing a status read to verify that the device is ready. the serial status is output by the device concurrent with the input of any command byte. if the rdy bit of the serial status regis- ter is set, the master device can write a new command. the command and data bytes are written msb first. the first byte of a two byte command is sent first. the bits are clocked into the mc144144 by placing the data on the sda input and bringing sck high. reading data using the spi bus with the exception of the ss read, each read operation must be set up before the data can actually be read from the serial output registers of the device. data is set up for a read operation either automatically or manually. xds data is set up for read automatically upon recovery by setting a valid xds filter register selection. all other data read opera- tions must be set up manually, using the read select commands rds1 and rds2. these commands load the se- lected data byte or pair of bytes into the serial output regis- ters, set the ss register rd2 bit according to the number of data bytes requested, and set the serial status dav bit to in- dicate availability of data. the mc144144 spi bus supports two and three byte read sequences. in spi mode, the ss must be read before a read sequence is started so that the dav and rd2 bits can be checked. the number of data bytes available is indicated by the state of the rd2 bit. the special command read1 or read2 is then used to read the one or two available data bytes. the serial status is clocked out during the write of the
mc144144 19 motorola read1 or read2 command. the data byte or bytes are then clocked out in sequence, msb first, while nop com- mands are written into the device. data bits are clocked out on the rising edge of sck. all available data bytes must be read to clear the dav bit and permit subsequent reads. the first bit of the first output byte is driven out on sdo fol- lowing the rising edge of sck on the last bit (lsb) of the read1 or read2 command. commands and registers serial port commands most of the mc144144 commands are common to both the i 2 c and spi modes. some commands, such as nop and the spi read commands, are unique to spi mode operation. in the i 2 c mode, the commands must be contained within the start slave address etc., sequence. in the following com- mand descriptions, the letter aho following a command code designates hexadecimal notation. reset rst = fbh, fch, 00h e a three byte command sequence in spi or i 2 c mode. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 1 1 1 1 1 0 1 x the reset command sequence will establish all the default settings but will not reset the serial port itself. this sequence can be entered without rdy being set. no operation nop = 00h e a one byte command for use in spi or i 2 c mode. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 0 0 0 0 0 0 0 x the nop command does not affect the status of the rdy bit in the serial status (ss) register and can be executed inde- pendent of the rdy status. serial sync bytes ssb = ffh, ffh, feh e used in spi mode. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 1 1 1 1 1 1 1 x spi mode communications can be synchronized by sending a synchronizing data string to the part. this string should consist of at least two ssb bytes of ffh followed by one ssb byte of feh. at the end of the feh byte the port is ready for use. caption/text display mode commands cptx = 10h 1fh e caption and text display commands are one byte commands. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 0 0 0 1 fld lang cptx donof a data channel can be selected for display with the display either enabled (dec on) or disabled (dec off). these commands will turn off an active xds display mode. cmd byte data channel and dec on cmd byte data channel and dec off 17 cc1 16 cc1 15 cc2 14 cc2 1f cc3 1e cc3 1d cc4 1c cc4 13 t1 12 t1 11 t2 10 t2 1b t3 1a t3 19 t4 18 t4 xds and miscellaneous display mode commands disp = 20h 28h e xds display commands are one byte commands. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 0 0 1 0 0 auto disp donof these commands control the xds display modes and the state of the 16 second erase timer. the 16 second erase tim- er is active only for both the caption and xds display modes but not for text display mode. cmd byte xds disp 16 sec timer 23 xdsg on 27 xdsg off 21 xdsf on 25 xdsf off 20 * on 24 * off * does not affect the display mode currently in operation. read and write commands read selects rds1 = 40h 47h cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 0 1 0 ad4 ad3 ad2 ad1 ad0 a one byte command which is used to initiate a one byte read sequence by moving the contents of the register identi- fied by the address field of the command, to the output regis- ter. only addresses 0 7 are valid. rds2 = 60h 66h cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 0 1 1 ad4 ad3 ad2 ad1 ad0 a one byte command which is used to initiate a two byte read sequence by moving the contents of the two consecu- tive registers, starting with the one identified by the address portion of the command, to the output registers and setting the rd2 bit in the ss register. only addresses 0 6 are valid.
mc144144 motorola 20 note: for xds data recovery, when the xds filter regis- ter (see internal register section) is enabled for the desired packets, the internal program will automatically establish the two byte recovery mode and move the recovered data bytes to the output register. reads read1 = f8h e command to read one byte in the spi mode. read2 = f9h e command to read two bytes in the spi mode. cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 1 1 1 1 1 0 0 rd2 the readx commands do not affect the status of the rdy bit in the serial status (ss) register and can be executed in- dependent of the rdy status. in both serial communications modes, the dav bit in the ss register indicates when data is available. when the rd2 bit is low, dav is cleared on the rising edge of sck at the lsb of the first data byte. when the rd2 bit is high, dav is cleared on the rising edge of sck at the lsb of the second data byte. the rd2 bit is only valid if dav is high. reading in the i 2 c mode is selected by the r/nw bit in the slave address byte. the first byte after the slave address byte will be ss followed by the data in output buffers a and b. if the instruction being executed is a one byte read, then the contents of buffer b will be all ones. write wrx = c0hdfh cm7 cm6 cm5 cm4 cm3 cm2 cm1 cm0 1 1 0 ad4 ad3 ad2 ad1 ad0 the write commands require two bytes to execute. the first byte is the write command and includes the address be- ing written to. the second byte will be the data byte. osd display mode commands osd commands are one and two byte commands. they are used to control the loading of data for osd display and their presentation to the screen. normally osd display mode uses 15 tv lines per display row to enhance the screen ap- pearance. the onebyte commands are: cmd byte function 30h (return) carriage return for osd when in textset mode. 31h (clre) osd equivalent to delete to end of row (der). 32h (textset) establishes a text type of osd display. 33h (popset) establishes a popon type of osd display. 36h (flip) osd equivalent of popon cap- tion end of caption (eoc). 37h (oedm) osd equivalent to erase dis- played memory. 38h (oenm) osd equivalent to erase nondis- played memory. the twobyte commands are: a0h rr pop row sel sets display row and moves cur- sor to char column 1. the low or- der nibble of rr designates the display row. bit 5 of rr specifies a double high row. for example: rr = 0eh would select display row 14. rr = 23h would select display row three, double high. a1h rr phy row sel sets the physical row, where the low order nibble of rr designates the physical row. rr can be any value from 00h to 0fh. a2h cc cursor set places the cursor at the character position designated by cc, which can be any value from 00h to 20h (column 0 32). zero is the pac space. a3h dd write char writes the data byte dd to the cur- rent cursor location and then in- crements the cursor. a4h rr write map maps the current physical row to the display row designated by the low nibble of the rr byte. bit 4 of rr = 1 enables display of the row. bit 5 of rr = 1 indicates a double high row. a5h dd write chard same as a3 command but speci- fies a double wide character. a6h nn wait sets the rdy bit of ss and then suspends serial command execu- tion for approximately the number of frames designated by the nn byte. figure 9 shows the two different character sets, graphics or extended, that share the address space c0h ffh. the graphics character set is in force when the osd display is in drop shadow mode (the default condition). the following two byte commands can be used to switch from the graphics characters to the extended characters and vice versa. an osd screen can only use one set at a time. 84h 30h graphics sets the graphics character set in force. 8ch 30h extended sets the extended character set in force.
mc144144 21 motorola internal registers information controlling the setup and operation of the mc144144 are maintained in several registers. the user may read or alter the contents of these registers as required. serial status (ss) register e address = not required (see serial communications interface section) d7 d6 d5 d4 d3 d2 d1 d0 rdy dav rd2 wovr intr rovr fld lock d7 rdy e active high, indicating that the port input buff- er is empty. only the nop, reset, and read instructions may be sent if rdy is low. d6 dav e active high, indicating that data is available to be read out. d5 rd2 e signals the number of bytes available for out- put. low = 1 byte, high = 2 bytes. d4 wovr e active high, indicating a serial input data overrun. d3 intr e active high, indicating that an interrupt other than dav is pending. d2 rovr e active high, indicating that the data avail- able in the output buffer has not been read out and new data has been written over it. d1 fld e signals the current video field. low = field 2, high = field 1. d0 lock e active high, indicating that the internal sync circuits are locked. maybe used as an indication of the pres- ence of a video signal. configuration register e address = 00h d7 d6 d5 d4 d3 d2 d1 d0 res res res res vlk hlk mono tvs d0 tvs e selects the television standard. high selects pal and low selects ntsc. the default is ntsc. when pal is selected the display defaults to 15 tv lines per display row. d1 mono e selects monochrome operation. active high, indicating that character luminance will be output on the color pins. default is low, selecting color operation. d2 hlk e selects the horizontal signal source to be used to lock the vco. low = internal, high = hin. the default is internal. d3 vlk e selects the vertical signal source to be used to establish vertical sync lock. low = internal, high = vin. the default is internal. when internal lock is enabled the vin/ intro pin will default to the intro output mode. interrupts should not be selected in the interrupt mask register if vlk mode is used. d4 d7 e reserved display register e address = 01h d7 d6 d5 d4 d3 d2 d1 d0 o15 odrp cenh c15 cdrp tenh t15 tdrp d0 tdrp e selects drop shadow or full box in text mode. high = drop shadow and low = box. the de- fault is low. d1 t15 e selects the number of tv lines per character row in a text display. high = 15 lines/row and low = 13 lines/row. the default is low. d2 tenh e enables enhanced attributes for a text dis- play. high = disabled, low = enabled. the default is low. d3 cdrp e selects drop shadow or full box in caption mode. high = drop shadow and low = box. the de- fault is low. d4 c15 e selects the number of tv lines per character row in a caption display. high = 15 lines/row and low = 13 lines/row. the default is low. d5 cenh e enables enhanced attributes for a caption display. high = disabled, low = enabled. the default is low. d6 odrp e selects drop shadow or full box in the osd and xds display modes. high = drop shadow and low = box. the default is high. d7 o15 e selects the number of tv lines per character row in the osd and xds display modes. high = 15 lines/ row and low = 13 lines/row. the default is high. note: osd and xds display modes always have en- hanced attributes enabled. h position register e address = 02h d7 d6 d5 d4 d3 d2 d1 d0 blbx hpol h5 h4 h3 h2 h1 h0 d0 d5 = h0 h5 used to set the horizontal timing of the display. the default value in this register is 26h. each count change represents a timing change of 330 ns. lower numbers move the display to the right. conversely, larger numbers move the display to the left. d6 hpol e set the polarity to be used for locking to the hin signal when in the ext hlk mode. low = rising edge, high = falling edge. the default is low. d7 blbx e designates color of box. high = blue box and low = black box. the default is low. text position register e address = 03h d7 d6 d5 d4 d3 d2 d1 d0 y3 y2 y1 y0 x3 x2 x1 x0 d0 d3 = x0 x3 sets the number of rows in the text display. the default is 15 rows. d4 d7 = y0 y3 sets the base row of the text display.
mc144144 motorola 22 the default value in this register is set to ffh, which pro- duces a 15 row display with base row 15. entering a new val- ue in this register can alter the size and placement of the text display. for example, to produce an 8 row text dis- play with a base row of 12, this register should be set to 8ch. if the value of the x and y bits result in a display where text rows are off the top of the screen, then the first row of the text display will start in row 1 and have the number of rows determined by the x value. line 21 activity register e address = 04h d7 d6 d5 d4 d3 d2 d1 d0 res res res res res res xds sch d0 sch e indicates data being processed in the data channel selected for display. will become inactive if no data is received for the selected channel within the previous 16 sec. high = active, low = inactive. the reset state is low. d1 xdse indicates xds data is being processed. will be- come inactive if no xds data is received within the previous 16 seconds. high = active, low = inactive. the reset state is low. xds filter register e address = 05h d7 d6 d5 d4 d3 d2 d1 d0 s2 s1 s0 publ misc chan futr curr d0 curr e selects current class packets for output through the serial control port when xds recovery has been enabled. d1 futr e selects future class packets for output through the serial control port when xds recovery has been enabled. d2 chan e selects channel information class packets for output through the serial control port when xds recovery has been enabled. d3 misc e selects miscellaneous class packets for out- put through the serial control port when xds recovery has been enabled. d4 publ e selects public service class packets for output through the serial control port when xds recovery has been enabled. d5 d7 = s0 s2 e selects a set of secondary parameters, tabulated below, to be used in filtering the xds data when xds recovery has been enabled. s2 s1 s0 secondary filter 000all 0 0 1 time information only 0 1 0 in band only 0 1 1 out of band only 1 0 0 vcr information 1 0 1 reserved 1 1 0 reserved 1 1 1 reserved setting this register to 00h turns xds data recovery off. setting bits d0 through d4 enables xds data recovery for the classes selected as qualified by the secondary filter ac- tion specified by bits d5 d7. if bits d0 d4 are all set to 1, all classes of xds data will be output (even reserved and un- defined). the time information only selection includes the time of day (tod) and local time zone (ltz) packets. vcr information will select tod, ltz, net id, local call let- ters, impulse capture, tape delay, composite 2, and out of band channel number packets for recovery. interrupt request register e address = 06h d7 d6 d5 d4 d3 d2 d1 d0 dtxt dcap dxds dsch dlok eof dle res d0 res e reserved. d1 dle e active high, indicating that the data line has ended. this bit will clear in each field, a few lines after row 15. d2 eof e active high, indicating that the video signal is currently at the end of a field. this bit will clear in each field, a few lines after row 15. d3 dlok e active high, indicating that the state of the lock signal has changed. the ss register must be read to determine the current state. d4 dsch e active high, indicating that a change in se- lected channel activity has occurred. the line 21 activity reg- ister must be read in order to determine if the selected data channel is active. d5 dxds e active high, indicating that a change in xds activity has occurred. the line 21 activity register must be read to determine if xds data is active. d6 dcap e active high, indicating that a change in a caption data channel activity has occurred. the caption ac- tivity register must be read to determine which caption data channels are active. d7 dtxt e active high, indicating that a change in a text data channel activity has occurred. the caption activity regis- ter must be read to determine which text data channels are active. except as noted for the case of bits d1 and d2 above, the master device must write a one to the appropriate bit in the interrupt request register to clear the interrupt.
mc144144 23 motorola interrupt mask register e address = 07h d7 d6 d5 d4 d3 d2 d1 d0 dtxt dcap dxds dsch dlok eof dle dav this register identifies which activities in the interrupt re- quest register will be used to cause an interrupt. setting a bit to a one enables the interrupt when the corresponding event becomes active. setting all bits of this register to zero dis- ables interrupts. caption activity register e address = 08h d7 d6 d5 d4 d3 d2 d1 d0 t4 t3 t2 t1 cc4 cc3 cc2 cc1 activity bits, cc1t4 e each bit will be set high when a mode setting command for its data channel has been re- ceived. the bit will be cleared to the low state if no activity is detected in that data channel during the next 12 16 s or if there is a loss of lock. xds data recovery the mc144144 is able to recover extended data services (xds) information from the input video signal. this data, for- matted according to the electronics industries association (eia) recommended practice, eia608, can contain a wide variety of information about current and future programs, the channel currently tuned, other channels and miscellaneous data including time of day. xds data is only present in the even field. the mc144144 can recover xds data even while performing its normal cap- tion decoder or osd functions. xds data packets are tagged according to a class/type system defined by eia608. the data may be filtered to ex- tract only the classes of interest to the application. an addi- tional level of filtering is provided that permits selection of certain groups of packets that are of use in specific appli- cations. xds filtering reduces the traffic on the serial bus, reduces the load of the tv/vcr control processor, and sim- plifies external xds decoding. xds data recovery is enabled by selecting one or more classes in the xds filter register. optionally, a secondary fil- ter code can be specified which further limits the packets to be recovered. once xds recovery is enabled filtered data pairs will be loaded into the serial output registers of the mc144144 immediately upon receipt. the dav and rd2 bits of the serial status (ss) register will then go high, indicating the availability of two output bytes. the external tv control processor does not need to send a read select com- mand in order to read these data bytes. when the xds filter register is set to zero (the default state) xds recovery is disabled. when xds data recovery is enabled, the external control- ler should avoid performing any other read operation, except ss reads, in the beginning of field 2. this is most easily ac- complished by using the end of field (eof) or data line end (dle) interrupt to locate the end of field 2 or the vertical blanking interval (vbi) of field 1, and then perform the read select and read functions during this portion of the video frame. commands other than read selects will not inter- fere with xds data recovery regardless of their position in the video frame. some examples of write commands that could be used to set the xds filter register are shown below. the xds filter register bit assignments are defined in the internal registers section. {c5,1f} all xds packets recovered. {c5,01} all current class packets recovered. {c5,41} all in band, current class packets recovered. {c5,62} all out of band, future class packets recovered. {c5,28} time information only recovered. will extract the time of day (tod) and local time zone (ltz) packets from the miscellaneous class data. {c5,9f} vcr information recovered. will select tod, ltz, net id, local call letters, impulse capture, tape delay, composite 2, and out of band channel number packets for recovery. onscreen display osd operation the user can supply information for display in an osd fashion through the serial port. in addition to all the normal and extended features of the vbi data display modes, osd mode also has available added graphics characters, double high and double wide characters, and the ability to position the display anywhere on the screen with an adjustable (verti- cal) box size. the osd display mode can use either 13 or 15 lines per row, with box or drop shadow. the default is 15 scan lines per row and drop shadow. enhanced attributes are always enabled. the 15 scan line per row display can only show 13 rows onscreen when in the ntsc mode. rows 14 and 15 will be offscreen and should not be addressed. in the pal mode all rows will be visible. the 15 scan lines per row mode display can show the full graphic characters and accented capital letters and des- cenders without the potential overlap that would result from the 13 scan line per row display. if the osd display mode is changed to a 13 scan line per row mode, the top two scan lines of any graphics or accented capital letter will be aoredo together with the bottom two scan lines from the row above. in 13 line drop shadow mode this will also result in a side shadow effect. graphics characters should not be used in the 13 line drop shadow mode. the osd character set is shown in figures 8 and 9. there are 256 possible addresses and figure 8 shows the address map in the range 00h bfh. this portion of the addressable space contains the control bytes and regular character set. figure 9 shows the address map in the range c0h ffh. these addresses are shared by the extended character set and the graphics character set. any particular osd screen can use one or the other of these sets of characters but not both. the character set in force is controlled by the type of dis- play mode being invoked. when drop shadow is being used, by default, the graphics character set will be displayed in re- sponse to an address in the c0h ffh range. however, if a box display is used, the extended character set is invoked.
mc144144 motorola 24 in either case the user can switch to the other set by means of the appropriate command, graphics or extended. the vin/intro pin serves as the input for a vertical pulse from the tv receiver when v lock = vin mode is enabled. this permits an osd display even when no video input is present. if this mode is not required the default state v lock = video should be active and this pin will then carry the intro output signal. osd commands osd commands are one and two byte commands. they are used to control the loading of data for osd display and their presentation to the screen. normally osd display mode uses 15 tv lines per display row to enhance the osd pre- sentation. the two byte commands enable direct access to any loca- tion on the display screen. the user may construct displays of his own choosing by using these commands. each com- mand byte pair consists of an instruction byte followed by a data byte. in this document one and two byte commands are written as 1 or 2, two digit hex values, separated by a comma, within curly braces. for example, the write char command for entering the letter a as a single width character would be shown as {a3,41}. this command would write the letter a to the current cursor position of the display row being ad- dressed. refer to the commands and registers and xds data recovery sections for further details of the serial com- munications and the osd commands. the one byte commands provide a simple means of creat- ing osd displays using preset screen formats built into the part. these builtin modes provide the user with a simple way to generate osd screens. two preset display modes are available called popset and textset.
mc144144 25 motorola figure 8.
mc144144 motorola 26 figure 9.
mc144144 27 motorola using popset popset provides an osd mode that operates in a fash- ion similar to the caption popon mode. the popset com- mand organizes the memory into two eightrow blocks, one visible onscreen and the other offscreen. an osd screen can then be created by loading the offscreen memory by the command sequence pop row sel, write char .. write char .. pop row sel .. write char .. write char. the data can then be presented with the flip com- mand. the following is an example of a command sequence that will create an osd screen using the popset mode. it creates a typical menu screen used in television receivers. as noted earlier, in this document commands are written as 1 or 2, two digit hex values, separated by a comma, within curly braces. a comment field is written following the com- mand to describe the action of the command or sequence of commands, where appropriate. the comment field is identi- fied by an * and anything following the * will be taken as a acommento. {33} * select pop mode. sets up the memory organization. * * the first block of cmds will display > video in double wide chars. * each character is entered with the write chard cmd. * {a0,02} * select poprow 2, cursor at char col 1 {a2,00} * move cursor to 0 {a3,08} * pac for red chars written in pac location. {a5,3e} * double wide char a>o will display in char col 1 & 2 {a3,02} * green mid code written to char col 3 {a5,56} * avo written to char col 4 & 5. {a5,49} * aio {a5,44} * ado {a5,45} * aeo {a5,4f} * aoo * * the next block of cmds will display audio in row 4 double width. * {a0,04} * select poprow 4, cursor in char col 1 {a2,03} * cursor to char col 3 {a3,02} * green mid code written to char col 3 {a5,41} * aao written to char col 4 & 5. {a5,55} * auo {a5,44} * ado {a5,49} * aio {a5,4f} * aoo * * the next cmds will display time in row 6 with double wide chars. * spacing is obtained without the a2 cursor set cmd to illustrate an alternate * means of column alignment. * {a0,06} * select poprow 6, cursor in char col 1 {a3,02} * green mid code written to char col 1 {a5,20} * double wide space char written to char col 2 & 3 {a5,54} * ato written to char col 4 & 5. {a5,49} * aio {a5,4d} * amo {a5,45} * aeo * * set up will be displayed in row 8 using double wide chars {a0,08} * select poprow 8 {a2,03} * cursor to 3 {a3,02} * green char {a5,53} * aso {a5,45} * aeo {a5,54} * ato {a5,20} * a o {a5,55} * auo {a5,50} * apo * * closed caption displayed in row 10 using double wide chars * the last letter, n, will appear in char col 30 & 31.
mc144144 motorola 28 {a0,0a} * select poprow a {a2,03} * cursor to 3 {a3,02} * green char {a5,43} * aco {a5,4c} * alo {a5,4f} * aoo {a5,53} * aso {a5,45} * aeo {a5,44} * ado {a5,20} * a o {a5,43} * aco {a5,41} * aao {a5,50} * apo {a5,54} * ato {a5,49} * aio {a5,4f} * aoo {a5,4e} * ano * * the line, select: enter exit: menu, will appear in row 12, starting in * char col 2. these will be single wide chars. {a0,0c} * select poprow c {a3,06} * cyan char {a3,53} * aso {a3,65} * aeo {a3,6c} * alo {a3,65} * aeo {a3,63} * aco {a3,74} * ato {a3,3a} * a:o {a3,20} * a o {a3,45} * aeo {a3,4e} * ano {a3,54} * ato {a3,45} * aeo {a3,52} * aro {a3,20} * a o {a3,20} * a o {a3,45} * aeo {a3,78} * axo {a3,69} * aio {a3,74} * ato {a3,3a} * a:o {a3,20} * a o {a3,4d} * amo {a3,45} * aeo {a3,4e} * ano {a3,55} * auo * {36} * flip cmd. will flip memories, popping the full menu onscreen. using textset textset provides an osd mode that will paint on the screen in a manner similar to a text mode display. the memory will be organized using the current information in the text position register and the display will follow the current setting in the display register. the default display parameters for osd are 15 lines per row, drop shadow mode. the textset command can be followed by successive write char commands interspersed with the return command at the appropriate points to paint on an osd display starting at the top of the text window as set by the text position reg- ister and moving to the next line at each return command. the display will scroll if a return command is sent when at the bottom of the text window. a subsequent textset com- mand will clear the screen and generate a new osd screen. the following example shows an osd display generated using textset. this screen will paint on rather than pop on. features like flash are included in the command sequence for demonstration purposes.
mc144144 29 motorola * the text display is first set to 4 rows at the bottom of the screen. {c3,d4} * set textpos reg for base row 13, 4 rows {c1,80} * set osd display for box mode, 15 lines/row {c2,a6} * set box to blue, keep hpos unchanged * {32} * select textset mode * * the next two cmds are used for positioning and color. * {a2,05} * cursor to char pos 5 {a3,08} * mid code to make red chars. cursor moves to 6 * {a3,b9} * mid code to start flash, cursor moves to 7 {a5,57} * `w' double wide, char col 7,8 {a5,41} * `a' double wide, char col 9,10 {a5,52} * `r' double wide, char col 11,12 {a5,4e} * `n' double wide, char col 13,14 {a5,49} * `i' double wide, char col 15,16 {a5,4e} * `n' double wide, char col 17,18 {a5,47} * `g' double wide, char col 19,20 {a5,20} * ` ' double wide, char col 21,22 * {30} * return moves cursor to next row, char pos 1 * {a2,00} * cursor to char pos 0 {a3,0a} * pac sets color to yellow, cursor moves to char pos 1 {a3,54} * `t' single width, cursor moves to char pos 2 {a3,68} * `h' {a3,65} * `e' {a3,72} * `r' {a3,65} * `e' {a3,20} * ` ' {a3,69} * `i' {a3,73} * `s' {a3,20} * ` ' {a3,61} * `a' {a3,20} * ` ' {a3,74} * `t' {a3,6f} * `o' {a3,72} * `r' {a3,6e} * `n' {a3,61} * `a' {a3,64} * `d' {a3,6f} * `o' {a3,20} * ` ' {a3,69} * `i' {a3,6e} * `n' {a3,20} * ` ' {a3,74} * `t' {a3,68} * `h' {a3,65} * `e' {a3,20} * ` ' {a3,61} * `a' {a3,72} * `r' {a3,65} * `e' {a3,61} * `a' {a3,2e} * `.' * {30} * return moves cursor to next row, char pos 1 {a3,50} *`p' {a3,6c} *`l' {a3,65} *`e' {a3,61} *`a'
mc144144 motorola 30 {a3,73} *`s' {a3,65} *`e' {a3,20} *` ' {a3,74} *`t' {a3,61} *`a' {a3,6b} *`k' {a3,65} *`e' {a3,20} *` ' {a3,61} *`a' {a3,6c} *`l' {a3,6c} *`l' {a3,20} *` ' {a3,6e} *`n' {a3,65} *`e' {a3,63} *`c' {a3,65} *`e' {a3,73} *`s' {a3,73} *`s' {a3,61} *`a' {a3,72} *`r' {a3,79} *`y' * {30} {a3,70} *`p' {a3,72} *`r' {a3,65} *`e' {a3,63} *`c' {a3,61} *`a' {a3,75} *`u' {a3,74} *`t' {a3,69} *`i' {a3,6f} *`o' {a3,6e} *`n' {a3,73} *`s' {a3,20} *` ' {a3,69} *`i' {a3,6d} *`m' {a3,6d} *`m' {a3,65} *`e' {a3,64} *`d' {a3,69} *`i' {a3,61} *`a' {a3,74} *`t' {a3,65} *`e' {a3,6c} *`l' {a3,79} *`y' {a3,2e} *`.'. * * at this point all 4 rows are onscreen. the following wait command will * hold the display for a period = (12x16)/30 seconds. {a6,c0} * wait for 6.4 seconds. * * create a smooth scroll to clear the screen with the following 4 row sequence. * {30} * return, first row. {a6,0f} * wait 15 frames {30} * return second row. {a6,0f} {30} * return third row. {a6,0f} {30} * return fourth row. {a6,0f} *
mc144144 31 motorola * create a new screen display * {a3,74} *`t' {a3,68} *`h' {a3,69} *`i' {a3,73} *`s' {a3,20} *` ' {a3,77} *`w' {a3,61} *`a' {a3,73} *`s' {a3,20} *` ' {a3,6f} *`o' {a3,6e} *`n' {a3,6c} *`l' {a3,79} *`y' {a3,20} *` ' {a3,61} *`a' {a3,20} *` ' {a3,74} *`t' {a3,65} *`e' {a3,73} *`s' {a3,74} *`t' * {30} * return * {a3,64} *`d' {a3,6f} *`o' {a3,6e} *`n' {a3,27} *`'' {a3,74} *`t' {a3,20} *` ' {a3,70} *`p' {a3,61} *`a' {a3,6e} *`n' {a3,69} *`i' {a3,63} *`c' {a3,2e} *`.' using the wait command the wait command will suspend serial port communica- tions for a period of time. the textset example above used the wait command in two ways. first to hold a display onscreen for a period of time before taking a second action. then it was used to create a smooth scroll by timing the wait to the scroll rate. the wait command can also be used to control the ap- pearance of two osd displays in sequence without tying up the master device for the total display time. in the following example, the popset mode is used to pop on two sequen- tial menu screens with a built in pause between the two dis- plays. in this case the wait is placed just before the last flip command. this allows the entire command sequence to be sent to the mc144144 at once, since the rdy bit will be set by the wait command, thus allowing the flip to be input as well. the command sequence would be as follows: {33} * select pop mode { .. } * screen generation commands for first display { .. }*oooo o { .. }*oooo o * {36} * flip cmd. will flip memories, popping the first menu onscreen. * {38} * oenm, to insure nondisplayed memory is erased. * { .. } * screen generation commands for second display { .. }*oooo o { .. }*oooo o * {a6,c0} * wait 6 seconds {36} * flip cmd. will flip memories, popping the second menu onscreen.
mc144144 motorola 32 using the graphics character set the following example creates an osd screen which illus- trates several features of the mc144144 including the use of the graphics character set to generate a large font word. the particular features shown are purely for demonstration pur- poses and not intended to suggest a particular application. for the sake of brevity, the atexto to be displayed will be shown as a string within quotes rather than as the actual command sequences required. single quotes, ', will signify standard characters while double quotes, o, will signify double wide characters. {33} * select pop mode * {a0,02} * select poprow 2 {a2,00} * move cursor to 0 {a3,03} * pac, green chars * `this is a demonstration of osd' * {a0,03} * select poprow 3 {a2,00} * cursor to 0 {a3,08} * pac, red char * `the mc144144 has many features' * {a0,04} * select poprow 4 {a2,00} * cursor to 0 {a3,04} * blue char * `besides displaying captions.' * {a0,06} * select poprow 6 {a2,00} * move cursor to 0 {a3,07} * pac, cyan underlined * `color and underline may be used' * {a0,08} * select poprow 8 {a2,00} * move cursor to 0 {a3,0a} * pac, yellow chars * o double wideo * {a0,09} * select poprow 9 {a2,00} * move cursor to 0 {a3,0c} * pac, magenta chars * `graphics can be created like' * * the next group of cmds will use graphic char patterns to make the two row * word hello. the data byte of the write char cmd is the address * location for the graphic cell desired as shown in fig. 5. * {a0,0b} * select poprow 11 {a2,00} * move cursor to 0 {a3,06} * pac, cyan chars * {84,30} * set graphics mode in case another user had changed it earlier. * {a5,20} * a o {a5,20} * a o {a5,20} * a o {a5,20} * a o {a3,20} * a o {a3,eb} * graphic cell {a3,ea} * graphic cell {a3,20} * a o {a3,fb} * graphic cell
mc144144 33 motorola {a3,20} * a o {a3,ea} * graphic cell {a3,20} * a o {a3,ea} * graphic cell {a3,20} * a o {a3,fa} * graphic cell {a3,f5} * graphic cell * {a0,0c} * select poprow 12 {a2,00} * move cursor to 0 {a3,06} * pac, cyan chars * {a5,20} * a o {a5,20} * a o {a5,20} * a o {a5,20} * a o {a3,20} * a o {a3,ea} * graphic cell {a3,ea} * graphic cell {a3,20} * a o {a3,eb} * graphic cell {a3,20} * a o {a3,eb} * graphic cell {a3,20} * a o {a3,eb} * graphic cell {a3,20} * a o {a3,eb} * graphic cell {a3,d7} * graphic cell * {36} * flip * manual row mapping and control for most osd displays the popset, pop row sel, flip, textset, and return commands should be used to control row positioning. textset mode provides automatic row allocation from top to bottom of the screen with all rows continuously visible. additionally, textset screens have a definable vertical window size and position and support automatic text scrol- ling at the bottom of the window. popset screens are created in offscreen memory while the previous screen is displaying. up to eight rows of charac- ters can be defined. these rows can be mapped to any of 15 display rows using the pop row sel command. double high rows may also be defined with pop row sel. the flip command is then used to apopono up to eight rows of characters replacing the previous screen. the offscreen rows may be mapped to the same row numbers as the on screen rows. in some applications it may be necessary to access the display hardware at a lower level to achieve special screen effects. examples of these special situations include the fol- lowing: ? more than eight onscreen rows required in a apopono style screen ? characters need to be added dynamically to an on screen display ? onscreen rows need to be dynamically moved, dis- abled or enabled the mc144144 supports manual screen mapping and dis- play control commands to handle these special applications. these commands allow each of the 16 physical rows of char- acter memory implemented in the device to be mapped to any of 15 display row positions. additionally the 16 physical rows can be set for single or double height and indepen- dently enabled and disabled. manual row mapping and con- trol commands should only be used in the popset osd mode. the procedure for manual row control is as follows: 1. use the popset command to select the osd popup mode. this command prepares the mc144144 for osd input, clears the row maps, and erases character memory. 2. select a physical row (0 through 15) using the phy row sel command. 3. use the write map command to set the display row (1 through 15), double high bit, and enable bit of the se- lected physical row. the cursor set, write char, and write chard commands are used to position the cursor and write the characters in the selected physical row. a physical row may be reselected at any time to change its characters, row maps, double high mode, or enable status. for example, it may be desirable to load several rows of characters into physical memory without enabling them. all of the rows could then be made to apopo onto the screen all at once by setting their enable bits.
mc144144 motorola 34 the following example uses manual row mapping and control to write three rows of characters. the first row is a double high row that is enabled before the characters are sent. this allows the characters to apainto onto the screen as they are received. the second and third row are not initially mapped or enabled when the characters are written. they are then mapped and enabled after a two second pause. a new row is then created offscreen to replace the third row. finally, after a 2 s pause the second row is moved to a new display row, the original third row is disabled and the new third row is mapped and enabled. {33} * select popset mode * {a1,00} * select physical row 0 {a4,31} * map it to display row 1, enable, double {a2,02} * cursor to 1 {a3,02} * green * double wide text othe first row o * {a1,01} * select physical row 1 {a2,00} * cursor to 0 {a3,0a} * yellow * single wide text 'these two rows are' * {a1,07} * select prow 7 {a2,00} * cursor to 0 {a3,06} * cyan * single wide text 'enabled after a pause' * {a6,40} * wait 2 seconds * * do the map and enable * {a1,01} * select physical row 1 {a4,16} * map it to display row 6, enable * {a1,07} * select prow 7 {a4,17} * map it to drow 7, enable * * * prepare a new row to replace row 7 * {a1,08} * select physical row 8 {a2,00} * cursor to 0 {a3,06} * cyan * single wide text 'moved after a pause' * {a6,40} * wait 2 seconds * * make the modified display {a1,01} * select physical row 1 {a4,1a} * map it to display row 10, enable, double {a1,07} * select prow 7 {a4,00} * disable it {a1,08} * select prow 8 {a4,1b} * map it to row 11,enable, double
mc144144 35 motorola block diagram description the mc144144 is designed to process both fields of line 21 of the television vbi and provide the functional perfor- mance of a line 21 closedcaption decoder and extended data service decoder. it requires two input signals, composite video and a horizontal timing signal (hin), and several pas- sive components for proper operation. a vertical input signal is also required if osd display mode is desired when no vid- eo signal is present. the decoder performs several func- tions, namely extraction of the data from line 21, separation of the normal line 21 data from the xds data, display of the selected data, and outputting of the xds data. the block diagram is shown at the beginning of this data sheet. input signals the composite video input should be a signal which is nominally 1.0 vpp with sync tips negative and band limited to 600 khz. the mc144144 will operate with an input level variation of at least 3 db. the hin input signal is required to bring the vco close to the desired operating frequency. it must be a cmos level signal. the hin signal can have positive or negative polarity and is only required to be within 3% of the standard h fre- quency. when configured for ext hlk operation, this signal should correspond to the h flyback signal. the timing difference between hin rising edge and the leading edge of composite sync (of video input) is one of the factors which will effect the horizontal position of the dis- play. any shift resulting from the timing of this signal can be compensated for with the horizontal timing value in the h position register. video input signal processing the comp video input is ac coupled to the ic where the sync tip is internally clamped to a fixed reference voltage by means of a dual clamp. initially, the unlocked signal is clamped using a simple clamp. improved impulse noise per- formance is then achieved after the internal sync circuits lock to the incoming signal. noise rejection is obtained by making the clamp operative only during the sync tip. the clamped composite video signal is fed to both the data slicer and sync slicer blocks. the data slicer generates a clean cmos level data signal by slicing the signal at its midpoint. the slice level is estab- lished on an adaptive basis during line 21. the resultant val- ue is stored until the next occurrence of that line 21. a high level of noise immunity is achieved by using this process. the sync slicer processes the clamped comp video signal to extract comp sync. this signal is used to lock the internally generated sync to the incoming video when the video lock mode of operation has been enabled. sync slicing is per- formed in two steps. in the nonlocked mode, the sync is sliced at a fixed offset level from the sync tip. when proper lock operation has been achieved, the slice level voltage switches from a fixed reference level to an adaptive level. the slice level is stored on the sync slice capacitor, csync. the data clock recovery circuit operates in conjunction with the digital h lock circuit. they produce a 32 h clock sig- nal (dclk) that is locked in phase to the clock runin burst portion of the sliced data obtained from the data slicer. when line 21 code appears, dclk phase lock is achieved during the clock runin burst and used to reclock the sliced data. once phase lock is established it is maintained until a change in video signal occurs. the digital h lock circuit produces the video timing gates, pg, stg, etc., which are locked in phase with hsync, the video timing signal, no matter which h lock mode is used in the display generation circuits. this independent phase lock loop is able to respond quickly to changes in video timing, without concern for display stability requirements. vco and one shot all internal timing and synchronizing signals are derived from the onboard 12 mhz vco. its output is the dot clk sig- nal used to drive the horizontal and vertical counter chains and for display timing. the one shot circuit produces a hori- zontal timing signal derived from the incoming video and qualified by the copy guard logic circuits. the vco can be locked in phase to two different sources. for television operation, where a good horizontal display tim- ing signal is available, the vco is locked to the hin input through the action of the phase detector (ph2). when a proper hin signal is not available, such as in a vcr, the vco can be locked to the incoming video through the phase detector (ph1). in this case the frequency detector (fr) cir- cuit is activated as required to bring the vco within the pull in range of ph1. timing and counting circuits the dot clk is first divided down to produce the character timing clock char clk. this signal is then further divided to generate the horizontal timing signals: h, 2h, and hsqr. these timing signals are used in the data output (display) cir- cuits. the h signal is further divided in the line and fld cntr to produce the various decodes used to establish vertical lock and to time the display and control functions required for proper operation. the h signal is also used to generate the smooth scroll timing signal for display. the v lock circuits produce a noisefree vertical pulse derived from the horizontal timing signal. when user selects video as the vertical lock source, the internal synchronizing signals are phased up with the incoming video by comparing the internally generated vertical pulse to an input vertical pulse derived from the comp sync signal provided by the sync slicer. in the vertical lock set to vin mode the vin signal is used in place of the signal derived from comp sync. in either case, when proper phasing has been established, this circuit outputs the lock signal which is used to provide additional noise immunity to the slicing circuits. the locked state is established only after several successive fields have occurred in which these two vertical pulses remain in sync. once locked, the internal timing will flywheel until such time as the two vertical pulses lose coinci- dence for a number of consecutive fields. until lock is es- tablished, the decoder operates on a pulse for pulse basis. command processor the command processor circuit controls the manipulation of the data for storage and display. it processes the control port input commands to determine the display status desired and the data channel selected. during the display time (lines 43 237), this information is used to control the loading, ad- dressing and clearing of the display ram and the operations of the character rom and output logic circuits.
mc144144 motorola 36 during data recovery time (tv lines 21 42), the com- mand processor, in conjunction with the data recovery cir- cuits, recovers the xds data and the data for the selected data channel. data is sent to the ram for storage and dis- play and/or to the serial port, as appropriate. where neces- sary, the command processor converts the input data to the appropriate form. output logic the output logic circuits operate together to generate the output color signals red, green, and blue and the box signal. when monochrome mode is selected all three color outputs will carry the luminance information. these outputs are positive output logic signals. the character rom contains the dot pattern for all the characters. the output logic provides the hardware under- line, graphics characters, and the italics slant generator cir- cuits. the smooth scroll display is achieved by the smooth scroll counter logic controlling the addressing of the charac- ter rom. decoder control circuit the decoder control circuit block is the user's communica- tions port. it converts the information provided to the control port into the internal control signals required to establish the operating mode of the decoder. this port can be operated in one of two serial modes. the sms pin is used to establish the serial control mode to be used. in the twowire (i 2 c) control mode, the mc144144 will re- spond to its slave address for both the read and write condi- tions. if the read bit is low (indicating a write sequence) then the mc144144 will respond with an acknowledge. the master should then send an address byte followed by a data byte. if the read bit is high (indicating a read sequence) then the mc144144 will respond with an acknowledge fol- lowed by a status byte then a data byte. read data will only be available through indirect addressing. write addressing will have both indirect and direct modes. the busy bit in the status byte will indicate if the write operation has been com- pleted or if read data is available. the spi mode is a threewire bus with the mc144144 per- forming as the slave device. communications is synchro- nized by the sck signal generated by the master. typically, the serial data output is transmitted on the falling edge of sck and the received data is captured on the rising edge of sck. all data is exchanged as eightbit bytes. voltage/current reference the voltage/current reference circuit uses an externally connected resistor to establish the reference levels that are used throughout the ic. the use of an external resistor pro- vides improved internal precision at low additional cost. pin descriptions inputs video (pin 7) composite ntsc video input, 1.0 vpp (nom), band lim- ited to 600 khz. circuit will operate with signal variation be- tween 0.7 1.4 vpp. the polarity is sync tips negative. this signal pin should be ac coupled through a 0.1 m f capacitor and driven by a source impedance of 470 w or less. hin (pin 5) horizontal sync input at cmos levels. when the part is used in the video lock mode, this signal pulls the onchip vco within the proper range. the circuit uses the frequency of this signal which must be within 3% of f h but can be of either polarity. when used in the h lock mode the vco phase locks to the rising edge of this signal. the hpol bit of the h position register can be set to operate with either polar- ity of input signal. this is usually the h flyback signal. the timing difference between hin rising edge and the leading edge of composite sync (of video input) is one of the factors which will affect the horizontal position of the display. any shift resulting from the timing of this signal can be compen- sated for with the horizontal timing value in h position regis- ter. sms (pin 6) mode select pin for the serial control port. when this input is at a cmos high state (1) the serial control port will oper- ate in the spi mode. when the input is low (0), the serial control port will operate in the i 2 c slave mode. in the i 2 c mode, the sen pin must be tied high (see reset operation discussion below). sen (pin 4) enable signal for the spi mode operation of the serial con- trol port. when this pin is low (0), the spi port is disabled and the sdo pin is in the highimpedance state. transitions on the sck and sda pins are ignored. spi mode operation is enabled when this pin is high (1). sck (pin 15) input pin for serial clock signal from the master control de- vice. in i 2 c mode operation the clock rate is expected to be within i 2 c limits. in spi mode, the maximum clock frequency is 10 mhz. reset operation when the sms and sen pins are both in the low (0) state, the part will be in the reset state. therefore, in the i 2 c mode the sen pin can be used as an nreset input. when spi mode is used, if threewire operation is desired, both sms and sen can be tied together and used as the nreset input. in either mode, nreset must be held low (0) for at least 100 ns. refer to xds data recovery for fur- ther details. inputoutput vin/intro (pin 13) ext vlk mode: in this mode of operation the internal ver- tical sync circuits will lock to the vin input signal applied at this pin. the part will lock to the rising or falling edge of the signal in accordance with the setting of the v polarity com- mand. the default is rising edge. the vin pulse must be at least 2 lines wide. intro mode: when configured for internal vertical syn- chronization, this pin will be an output pin providing an inter- rupt signal to the master control device in accordance with the settings in the interrupt mask register.
mc144144 37 motorola sda (pin 14) when the serial control port has been set to i 2 c mode operation, this pin serves as the bidirectional data line for sending and receiving serial data. in spi mode operation it operates as serial data input. spi mode output data is avail- able on the sdo pin. outputs sdo (pin 16) provides the serial data output when spi mode commu- nications have been selected. this pin is not used in i 2 c mode operation. box (pin 17) black box keying output. this active high, cmos level signal is used to key in the black box in the captions/text dis- plays. this output will be in the highimpedance state when the background attribute has been set to semitransparent. red, green, blue (pins 18, 2, 3) positive acting, cmos levels signals. color mode: red, green, and blue character video out- puts for use in a color receiver. mono mode: all three outputs carry the character lumi- nance information. external components csync (pin 8) sync slice level. a 0.1 m f capacitor must be tied between this pin and analog ground (v ss (a)). this capacitor stores the sync slice level voltage. lpf (pin 9) loop filter. a series rc lowpass filter must be tied be- tween this pin and analog ground (v ss (a)). there must also be a second capacitor from the pin to v ss (a). values for the three parts to be specified. rref (pin 10) reference setting resistor. must be a 10 k w , 2% resistor. power supply v dd (pin 12) the voltage on this pin is nominally 5.0 v and may range between 4.75 to 5.25 v with respect to the v ss pins. v ss (pins 1 and 11) these pins are the lowest potential power pins for the ana- log and digital circuits. they are normally tied to system ground. the recommended printed circuit pattern for implementing the power connection and critical components will be sup- plied at a later date. applications information pcb design to maximize the performance of the mc144144, noise should be kept to a minimum. good printed circuit board de- sign will enhance the operation of the mc144144. separate analog and digital grounds will reduce noise and decoding errors. in addition, separate filters on v dd (a) and v dd (d) will also help to minimize noise and decoding errors. suffi- cient decoupling and short leads will also improve perfor- mance. when designing mixed analog/digital printed circuit boards, separate ground planes for digital ground and analog ground should be employed. large switching currents gener- ated by digital circuits will be amplified by analog circuitry and can quickly make a circuit unusable. digital oscillators can become a source of emi (electromagnetic interference) problems. care should be taken to ensure analog ground does not inadvertently become part of the digital ground. the analog and digital grounds should be connected together at only one point. this should be the v dd (a) and v dd (d) pins on the mc144144 if possible. additionally, when intercon- necting several printed circuit boards together, care must be taken to ensure cabling does not interconnect digital and analog grounds together to produce a path for digital switch- ing currents through analog ground. when using any device that combines digital and analog circuitry, such as the mc144144, ground planes are desir- able. loosely interconnected traces and/or random areas of ground strewn around the printed circuit board are inade- quate for high performance circuitry. while distribution of v dd (a) and v dd (d) can be done by bussing, to do so with the ground system is disastrous. stray ground inductance can increase radiation and make emi suppression very diffi- cult. a 1inch long conductor is an 18 nh inductor. the cross sectional area of the conductor affects the exact value of the inductance, but for most pcb traces this is approximately correct. if the ground system is composed of traces or clumps of ground loosely interconnected, it will be inductive. the amount of inductance will be proportional to the length of the conductors making up the ground. this inductance can- not be decoupled away. it must be designed out. a cmos device exhibits a characteristic input capacitance of about 10 pf. if this gate is driven by a digital signal that switches 2.5 v in a period of 5 ns, the equation for the aver- age current flowing during the switching time will be: i av = cdv/dt. a voltage change of 2.5 v in 5 ns requires an average cur- rent of 5 ma. if we assume a linear ramp starting from zero, the total change in current will be 10 ma. the change in cur- rent per nanosecond per gate can be found by dividing the change in current by the time 10 ma/5 ns = 2 ma/ns. for a device with outputs driving one gate for each output, di/dt = 16 x 2 ma/ns = 32 ma/ns. if the above 1inch wire is in this current path, then the voltage dropped across it can be found from the formula v = ldi/dt = 18 nh x 32 ma/ns = 0.576 v. if the inductor is in the ground system, it is in the signal path. the voltage generated by the switching currents through this inductor will be added to the signal. at best it will be superimposed on the analog signal as unwanted noise. at worst, it can render the entire circuit unusable. even the digi- tal signal path is not immune to this type of signal. it can false trigger clock circuits causing timing errors, confuse compara-
mc144144 motorola 38 tor type circuits, and cause digital signals to be misinter- preted as wrong values. when laying out the pcb, use electrolytic capacitors of sufficient size at the power input to the printed circuit board. adding low esr (effective series resistance) decoupling ca- pacitors of about 0.1 mf capacitance between v dd (a) and ground and v dd (d) and ground at the device power pins will help reduce noise in general, and also reduce emi and esd (electrostatic discharge) susceptibility. implementation of a good ground plane ground system can all but eliminate the type of noise described above. to summarize, use sufficient electrolytic capacitor filtering, make separate ground planes for analog ground and digital ground, tie these grounds together at one and only one point, keep the ground planes as continuous and unbroken as pos- sible, use low esr capacitors of about 0.1 mf capacitance on v dd (a) and v dd (d) at each device, and keep all leads as short as possible. emi supression when using ics in or near television receiver circuits, emi (electromagnetic interference) and subsequent unwanted display artifacts and distortion are probable unless adequate emi suppression is implemented. a common misconception is that some offending digital device is the culprit. this is er- roneous in that an ic itself has insufficient surface area to produce sufficient radiation. the device, while it is the gener- ator of interfering signals, must be coupled to an antenna be- fore emi is radiated. the source for the emi is not the ic which generates the offending signals but rather the circuitry which is attached to the ic. potential emi signals are generated by all digital devices. whether they become a nuisance is dependent upon their frequency and whether they have a sufficient antenna. the frequency and number of these signals is affected by both circuit design within the ic and the manufacturing process. device speed is also a major contributor of potential emi. be- cause the design is determined by the anticipated applica- tion, the manufacturing process is fixed and the drive for speed ever increasing, the only effective point to implement emi suppression is in the pc board design. the pc board usually is the antenna which radiates the emi. the most effi- cient method of minimizing emi radiation is to minimize the efficiency of this antenna. the most common cause of inadequate emi suppression lies with the ground system of the suspected digital devices. as pointed out previously, di/dt transitions can be significant in digital circuits. if the di/dt transitions appear in the ground system and the ground system is inductive, the harmonics present in these transitions are a source of potential emi sig- nals. the unfortunate result of putting digital devices on a reactive ground system is guaranteed emi problems. the area which should be addressed first as a potential emi source is the ground. without an adequate ground sys- tem, emi cannot be effectively reduced by decoupling. if at all possible, the ground should be a complete unbroken plane. figure 10 shows two examples of relieving ground around device pins. when relieving vias and plated through holes, large areas of ground loss should be avoided. when the relief pattern is equal to half the distance between pins, overetching and process errors may remove ground between pins. if sufficient ground around enough pins is re- moved, the ground system can become isolated or nearly isolated apatcheso which will appear inductive. if ground, such as the vicinity of an ic, must be removed, replace with a cross hatch of ground lines with the mesh as small as pos- sible. if a single unbroken plane can be devoted to the ground system, emi can usually be sufficiently suppressed by using ferrite beads on suspect emi paths and decoupling with ade- quate values of capacitors. the value of the decoupling ca- pacitor depends on the frequency and amplitude of the offending signals. ferrite beads are available in a wide vari- ety of shape, size, and material to fit virtually any application. choose a ferrite bead for desired impedance at the de- sired frequency and construct a low pass filter using one or more appropriate capacitors in a alo, ato, or apio arrange- ment. use only capacitors of low inductive and resistive properties such as ceramic or mica. install filters in series with each ic pin suspected of contributing offending emi sig- nals and as close to the pin as possible. analysis using a spectrum analyzer can help determine which pins are sus- pect. where pc board costs constrain the number of layers available, and if the emi frequencies are far removed from the frequencies of operation, ferrite beads and decoupling capacitors may still be effective in reducing emi emissions. where only two (or in some cases, only one!) layer is used, the ground system is always reactive and poses an emi problem. if the offending emi and normal operating frequen- cy differ sufficiently, filtering can still work. an aislando is constructed in the ground system for the digi- tal device using ferrite beads and decoupling capacitors as shown by the example in figure 11. the ground must be cut so that the digital ground for the device is isolated from the rest of the ground system. next choose a ferrite bead of the appropriate value. install this bead between the isolated ground and the ground system. install low pass filters in all suspect lines with the capacitor closest to the device pin con- nected to the isolated ground in all signal lines where emi is suspect. also cut the power to the device and insert a ferrite bead as shown in figure 11. finally, decouple the device be- tween the power pin(s) and isolated ground pin(s) using a low inductive/resistive capacitor of adequate value. the methods described above will work acceptably when the emi frequency and the frequency of operation of the de- vice generating the emi differ greatly. where the emi is dis- turbing the high vhf or uhf channels and the device generating the emi is operating within the ntsc/pal band- width, the energy contained in the harmonics generating the emi is situated well above the operating frequency and suppressing this type of emi poses no great problem. how- ever, if the emi is present on low vhf channels and/or the operation of the device is outside the ntsc/pal bandwidth, such as a 2x pixel clock or 4fsc oscillator, compromise be- tween video quality and suppression complexity is usually required to obtain an acceptable solution. for those cases where the operating frequency of the device is very near the frequency of the emi disturbance, careful attention to pcb layout, multiple layer pcb, and even shielding may be nec- essary to obtain an acceptable design.
mc144144 39 motorola better wrong figure 10. r power input or output signal ground low pass filter 0.1 m fd decoupling ferrite bead ferrite bead cut cut ferrite bead figure 11.
mc144144 motorola 40 loop filter calculation this section is not intended as complete loop theory; its aim is merely to point out the peculiarities of the loop, and provide the user with enough information for the filter compo- nents selection. for a more indepth covering, the cited ref- erences should be consulted, especially [1]. the following remarks apply to the loop: ? the loop frequency is 15 khz. ? in spite of the sampled nature of the loop, a continuous time approximation is possible if the loop bandwidth is suffi- ciently small. ? ripple on vc is a function of loop bandwidth. ? the loop is a type  , 3rd order; however, since c2 is small, the pole it creates is far removed from the low frequency dominant poles, and the loop can be analyzed as a 2nd order loop. these remarks apply to the pfd: ? phase and frequency sensitive. ? independent of duty cycle. ? pfd has 3 allowed states: up, down, highz. ? the vco is always pulled in the right direction (during acquisition). ? pfd gain is higher near lock. the last two remarks imply that only the higher value need be taken into account, as acquisition will be slower, but always in the proper direction, whereas the higher gain will enter into the action as soon as the error reaches 2 p . the following values are selected and defined: c2 = c/10 or less, to satisfy the requirement that the effect of c2 on the low frequency response of the loop be minimal, and similar to a second order loop. z = 0.707 for the damping factor. i = 15625  2 p the input pulsation. t = rc as the loop filter. k = ko  ip  r/(2  p  n) the loop gain. k = k  t = 4 z 2 is the `normalized' loop gain. ko = 49  10 6 [rad/vs] (7.8 mhz/v). stability analysis, with c2  c/10 and k = 2 (= 0.707) gives a minimum value of 7.5 for the ration /k and to have some margin, a reasonable value can be 15 to 20 or higher [1]. selecting i/k = 20, gives: k = i/20  5000. with k = 2, t = 2/k = 400 m s. using k = ko  ip  r/(2  p  n) and setting ip = 120 m a, and n an average value of 1000, we get r = 5.1 k w . then for t = 400 m s, c becomes 82 nf and c2, 3.3 nf for c2 = c/25. with these values, the loop natural frequency (n) and the loop bandwidth (3 db) can be calculated: n = [(ko/n)  ip/(2 p c)] 1/2 = 3400 and fn = 3400/2 p = 540 hz. 3 db = 2  n = 1080 hz (valid if z is close to 0.707). references [1] achargepump phaselock loopso, floyd m. gar- dner, ieee transactions on communications , vol. com28, no. 11, november 1980. [2] phaselock techniques , floyd m. gardner, j. wiley & sons, 1979. [3] phaselocked loops , roland e. best, mcgrawhill, 1984. [4] aphase locked loop systemso, motorola.
mc144144 41 motorola appendix demonstration programs communicating with the mc144144 communications with the mc144144 is accomplished us- ing its serial communications interface. through hardware setup, this interface can be configured into either of two seri- al protocols, i 2 c or spi. the details of hardware setup have been provided in the data sheet and will not be dealt with in this appendix. it is assumed that the user is familiar with the serial protocol requirements. in the following descriptions means press the enter key and * signifies that everything following the aster- isk in that line is a comment. i 2 c operation the mc144144 is configurable as an i 2 c slave device with the slave address 0010100. the accompanying c language programs enable a pc to perform as the i 2 c master device of an application. the pc communicates with the mc144144 through the parallel port. these programs are not intended as examples of how to program the application but are only provided as a means of illustrating the serial control process. the three programs provided are titled iico, scripti, and xdscap. these programs have been compiled and run satisfactorily with the mc144144 in a test board. compiled versions are available on disk. iico program this program will send one byte to the mc144144 without checking the status of the ready bit. the program returns the contents of the serial status (ss) register after the com- mand has been entered. when the program is active the screen will display: iic command byte > the user may enter any valid one byte command such as fb (reset) or 00 (nop) and then hit the enter key. the screen will then display the byte entered and the ss register contents as follows: iic byte = 00 iic status = 83h the illustration above shows the nop command was en- tered. the ss register contents, 83h, indicates that the rdy, fld, and lock bits are aoneso indicating that the serial port is ready for further input, that the input video signal was in field 1 at the time the status was read, and that the part is operating in video lock mode. the iico program is exited by entering a control c (^c) character. for example, entering the following single byte commands would: fb,fc,00 * resets the part. 00 * clear the reset. 17 * set the part to cc1 display mode, decoder on. 23 * change to the xds graze display mode, 16sec timer on. 17 * return to the cc1 display mode, decoder on. the commands that control most of the display capability of the mc144144 are all one byte commands which can be entered using the iico program. these commands are tabu- lated below for convenience. general commands command byte nop 00 reset fb,fc,00 caption/text display commands cmd byte data channel and dec on cmd byte data channel and dec off 17 cc1 16 cc1 15 cc2 14 cc2 1f cc3 1e cc3 1d cc4 1c cc4 13 t1 12 t1 11 t2 10 t2 1b t3 1a t3 19 t4 18 t4 xds and miscellaneous display mode commands cmd byte xds disp 16 sec timer 23 xdsg on 27 xdsg off 21 xdsf on 25 xdsf off 20 * on 24 * off *does not effect the display mode currently in operation. scripti program this program is designed to send any number of one or two byte commands to the mc144144. the list of commands to be executed are contained in script files that have the ex- tension .ser. examples of such files will be presented in the following paragraphs. scripti can be used to control the display modes in the same manner as the iico program ex- cept that the one byte command to be sent must be in a script file. for example a file called cc1.ser would contain the one byte command: {17} * send cc1, decoder on the program is invoked by typing: si file_name * file_name without the .ser extension the screen will display: eeg ccd2 serial interface script player version x.xx slave address is 28h script file done the responding slave address is reported to the screen. when all the commands in the file have been successfully
mc144144 motorola 42 sent to the mc144144, the pc will return to the system prompt. the program checks the rdy status before sending each byte. if, during the entry of a command, the rdy bit is not found to be a aoneo after an extended wait, the program will report the contents of the ss register and then continue checking for rdy. script files script files can be generated to perform all of the setup and control functions required to use the part in an applica- tion. the script files shown below are examples of such files used to setup the mc144144 for different operating condi- tions. some of the files contain only a single command while others include several commands. the user should refer to the data sheet for command and register details. although the following examples are organized according to a particu- lar register, some of the files contain information for several registers. configuration register script files file name cmd comments figm {c0,02} * set config to mono figvh {c7,00} * set int mask reg clear {c0,0c} * set config to ext vlk & hlk {83,12} * bit set ext v pulse for pos {c2,1d} * center h display fign {c0,00} * set config back to default state {c2,26} * return h display to center figpal {c1,d2} * change display reg to c15 & t15 {c3,ff} * change text pos reg to base row 15, 15 rows {c0,01} * set config reg to tvs=1. changes vbi line to l22 pal. display register script files dn {c1,c0} * set display reg to default conditions dt1 {c1,c1} * set display reg to text drop shadow dt2 {c1,c2} * set display reg to text 15 lines per row dt3 {c1,c3} * set display reg to text drop shadow, 15 lines dt3a {c1,c3} * 15 tv lines and drop text {c3,dd} * 13 rows of text, base row 13 dce {c1,e0} * disable cap enhanced mode h position register script files hposc {c2,26} * center box hposr {c2,1d} * move box r ight 2.97 usec (from ctr) hposl {c2,29} * move box left 0.99 usec (from ctr) hposcb {c2,a6} * center box & make box blue text position register script files tpos15 {c3,ff} * text, base row 15, 15 rows tpos13 {c3,fd} * text base row 15, 13 rows tpos10 {c3,fa} * text base row 15, 10 rows tpos10a {c3,ba} * text base row 11, 10 rows xdscap program this program performs the application's task of xds data recovery. xds recovery must first have been enabled through the appropriate xds filter command. examples of script files for setting the xds filter register are shown below. when the program is invoked the screen will show: eeg ccd2 xds data recovery test program version x.xx slave address is 28h the responding slave address is reported to the screen. once communications is acknowledged the program will display all xds data recovered from those packets that were enabled through the xds filter command. for example: {01,03}current program{00}{0f,7f} ....etc the ascii characters are shown as ascii characters while the nonprinting characters are displayed by their hex value within curly braces. byte pairs, such as class, type, are shown as pairs within the curly braces, separated by a com- ma, i.e. {01,03}. if no data is received within approximately 45 seconds, the program will time out, report adata not availableo , and exit the program. the xdscap program can also be exited by entering a control c (^c) character. xds filter register script files fila {c5,1f} * set xds filter to all fil0 {c5,00} * set xds filter to none. turns off xds recovery filca {c5,01} * set xds filter to all current class filc {c5,41} * set xds filter to current, in band class filfa {c5,02} * set xds filter to all future class filch {c5,04} * set xds filter to channel class film {c5,08} * set xds filter for misc info filtime {c5,28} * set xds filter time only filvcr {c5,9e} * set xds filter vcr info using interrupts interrupts involve the use of the line 21 activity register, the interrupt request register, and the interrupt mask register. the mc144144 must be configured for vlk internal so that the vintro signal, pin 13 is an output providing the interrupt output signal. it should be noted that the interrupt status can be polled through bit d3 of the ss register if the interrupt sig- nal cannot be used. interrupts are disabled when the interrupt mask register has been set to all zeros. conversely, interrupts are enabled by setting one or more of the active bits to a one. when en- abled, the intro signal will become a one when the enabled mask event(s) becomes active. if more than one event has been activated, the interrupt request register must be queried to determine which event has occurred. the dle
mc144144 43 motorola and eof interrupts will be cleared at the end of the field in which they occurred. interrupt mask register script files intrd {c7,02} * set dle active intrlk {c7,08} * set dlok active intrx {c7,20} * set dxds active intrc {c7,12} * set dle & dc/t active spi operation the serial port of the mc144144 may be configured to op- erate as an spi interface. the mc144144 always acts as the slave device with the master generating the required clock and input data signals. the accompanying c language pro- grams enable a pc to perform as the spi master device of an application. the pc communicates with the mc144144 through its parallel port. these programs are not intended as examples of how to program the application but are only pro- vided as a means of illustrating the serial control process. the two programs provided, serout and script the spi equivalent to the i 2 c programs iico and scripti, re- spectively. these programs have been compiled and run sat- isfactorily with the mc144144 in a test board. compiled versions are available on disk. serout program this program will send one byte to the mc144144 without checking the status of the ready bit. the program returns the contents of the serial status (ss) register after the com- mand has been entered. when the program is active the screen will display: spi command byte > the user may enter any valid one byte command and then hit the enter key. the screen will then display the byte en- tered and the ss register contents as follows: spi byte = 00 spi return val = 83h the illustration above shows the nop command was en- tered. the ss register contents, 83h, indicates that the rdy, fld, and lock bits are aoneso indicating that the serial port is ready for further input, that the input video signal was in field 1 at the time the status was read and that the part is operating in video lock mode. when this program is used a modified version of the reset can only be used. it is entered as two 1byte com- mands, fb and 00. the serout program is exited by entering a control c (^c) character. script program this program is designed to send any number of one or two byte commands to the mc144144. the list of commands to be executed are contained in script files that have the ex- tension .ser. the script files used with the i 2 c version, scripti, can be used with this program. the program is invoked by typing: s file_name * file_name without the .ser extension the screen will display: eeg ccd2 serial interface script player version x.xx script file done when all the commands in the file have been successfully sent to the mc144144, the pc will return to the system prompt. the program checks the rdy status before sending each byte. if, during the entry of a command, the rdy bit is not found to be a aoneo, the program will report the contents of the ss register and then continue checking for rdy.
mc144144 motorola 44 package dimensions min min max max millimeters inches dim 22.22 6.10 3.56 0.36 1.27 1.02 0.20 2.92 23.24 6.60 4.57 0.56 1.78 1.52 0.30 3.43 0 0.51 0.875 0.240 0.140 0.014 0.050 0.040 0.008 0.115 0.915 0.260 0.180 0.022 0.070 0.060 0.012 0.135 15 1.02 2.54 bsc 7.62 bsc 0.100 bsc 0.300 bsc 0 0.020 15 0.040 a b c d f g h j k l m n notes: 1. positional tolerance of leads (d), shall be within 0.25 mm (0.010) at maximum material condition, in relation to seating plane and each other. 2. dimension l to center of leads when formed parallel. 3. dimension b does not include mold flash. 19 10 18 b a h f g d seat- ing plane n k c m j l note: introduction of this device in a surfacemount package is dependent on market demand. p suffix plastic dip (dual inline package) case 70702 how to reach us: usa / europe : motorola literature distribution; japan : nippon motorola ltd.; tatsumispdjldc, toshikatsu otsuki, p.o. box 20912; phoenix, arizona 85036. 18004412447 6f seibubutsuryucenter, 3142 tatsumi kotoku, tokyo 135, japan. 0335218315 mfax : rmfax0@email.sps.mot.com t ouchtone (602) 2446609 hong kong : motorola semiconductors h.k. ltd.; 8b tai ping industrial park, internet : http://designnet.com 51 ting kok r oad, tai po, n.t., hong kong. 85226629298 motorola reserves the right to make changes without further notice to any products herein. motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. atypicalo parameters can and do vary in different applications. all operating parameters, including atypicalso must be validated for each customer application by customer's technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that motorola was negligent regarding the design or manufacture of the part. motorola and are registered trademarks of motorola, inc. motorola, inc. is an equal opportunity/affirmative action employer. mc144144/d  ?


▲Up To Search▲   

 
Price & Availability of MC144144P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X